Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.364/1.364, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009993/0.0009998, allocations: 180.3 kB / 326.6 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.935/1.935, allocations: 205.4 MB / 0.5777 GB, free: 20.53 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008446/0.0008447, allocations: 91.8 kB / 0.6823 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003165/0.0003166, allocations: 10.94 kB / 0.7965 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2347, allocations: 106.3 MB / 0.9003 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.00068/0.2354, allocations: 286.2 kB / 0.9006 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 3.943e-05/0.2355, allocations: 4 kB / 0.9006 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.158e-05/0.2355, allocations: 0 / 0.9006 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.367e-05/0.2355, allocations: 0 / 0.9006 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.236e-05/0.2356, allocations: 3.938 kB / 0.9006 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.924e-05/0.2356, allocations: 0 / 0.9006 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.471e-05/0.2357, allocations: 11.92 kB / 0.9006 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.124e-05/0.2357, allocations: 0 / 0.9006 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.432e-05/0.2357, allocations: 4 kB / 0.9006 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.902e-05/0.2358, allocations: 0 / 0.9006 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.2358, allocations: 0 / 0.9006 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.617e-06/0.2358, allocations: 0 / 0.9006 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.273e-06/0.2358, allocations: 0 / 0.9006 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.804e-05/0.2358, allocations: 29.7 kB / 0.9007 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 3.841e-05/0.2359, allocations: 3.984 kB / 0.9007 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2359, allocations: 0 / 0.9007 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2359, allocations: 0 / 0.9007 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2359, allocations: 0 / 0.9007 GB, free: 63.8 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002017/0.2361, allocations: 311.4 kB / 0.901 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.2362, allocations: 12.03 kB / 0.901 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.639e-05/0.2362, allocations: 30.56 kB / 0.901 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.179e-05/0.2362, allocations: 0 / 0.901 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.576e-05/0.2363, allocations: 167 kB / 0.9012 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.2363, allocations: 0 / 0.9012 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.2363, allocations: 7.938 kB / 0.9012 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.097e-05/0.2364, allocations: 25.7 kB / 0.9012 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2364, allocations: 3.984 kB / 0.9012 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.2364, allocations: 0 / 0.9012 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.2364, allocations: 4 kB / 0.9012 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.533e-05/0.2365, allocations: 4 kB / 0.9012 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002106/0.2367, allocations: 383.4 kB / 0.9016 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.898e-05/0.2367, allocations: 174.3 kB / 0.9017 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.2368, allocations: 84.14 kB / 0.9018 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.2368, allocations: 79.28 kB / 0.9019 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.2368, allocations: 105.8 kB / 0.902 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.2368, allocations: 0 / 0.902 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 5.924e-05/0.2369, allocations: 29.7 kB / 0.902 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.2369, allocations: 130.6 kB / 0.9021 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.936e-05/0.237, allocations: 101.8 kB / 0.9022 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.354e-06/0.237, allocations: 33.83 kB / 0.9023 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.56e-05/0.237, allocations: 84.08 kB / 0.9024 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.237, allocations: 0 / 0.9024 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.237, allocations: 0 / 0.9024 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.526e-05/0.2371, allocations: 310.8 kB / 0.9027 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.076e-06/0.2371, allocations: 0 / 0.9027 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.525e-06/0.2371, allocations: 0 / 0.9027 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.17e-05/0.2371, allocations: 75.28 kB / 0.9027 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.2371, allocations: 79.28 kB / 0.9028 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.623e-05/0.2372, allocations: 33.73 kB / 0.9028 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.2372, allocations: 83.27 kB / 0.9029 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.2372, allocations: 79.22 kB / 0.903 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.257e-05/0.2373, allocations: 154.6 kB / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.343e-05/0.2373, allocations: 83.22 kB / 0.9032 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.29e-05/0.2373, allocations: 150.6 kB / 0.9034 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.163e-05/0.2374, allocations: 79.28 kB / 0.9034 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.2374, allocations: 87.17 kB / 0.9035 GB, free: 60.64 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.287e-05/0.2375, allocations: 256.4 kB / 0.9038 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.2375, allocations: 105 kB / 0.9039 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.283e-05/0.2375, allocations: 116 kB / 0.904 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.418e-05/0.2376, allocations: 180.3 kB / 0.9041 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.904e-05/0.2376, allocations: 176.3 kB / 0.9043 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.727e-05/0.2376, allocations: 180.2 kB / 0.9045 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.2378, allocations: 409.2 kB / 0.9049 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/0.2378, allocations: 108.9 kB / 0.905 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.377e-05/0.2378, allocations: 101 kB / 0.9051 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.22e-05/0.2378, allocations: 188.2 kB / 0.9053 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.2379, allocations: 184.2 kB / 0.9054 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.145e-05/0.2379, allocations: 176.3 kB / 0.9056 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.36e-05/0.2379, allocations: 180.6 kB / 0.9058 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.528e-05/0.238, allocations: 319.7 kB / 0.9061 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.063e-05/0.238, allocations: 178.1 kB / 0.9062 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.2381, allocations: 180.3 kB / 0.9064 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.811e-05/0.2381, allocations: 112.9 kB / 0.9065 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.2382, allocations: 180.2 kB / 0.9067 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.2382, allocations: 108.9 kB / 0.9068 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.801e-05/0.2382, allocations: 79.28 kB / 0.9069 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2382, allocations: 3.938 kB / 0.9069 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002776/0.2385, allocations: 0 / 0.9069 GB, free: 56.97 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002481/0.2387, allocations: 0.8126 MB / 0.9077 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 3.625e-05/0.2388, allocations: 4 kB / 0.9077 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2388, allocations: 0 / 0.9077 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.2388, allocations: 3.938 kB / 0.9077 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.2391, allocations: 0.5185 MB / 0.9082 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004584/0.2395, allocations: 0.4899 MB / 0.9087 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.2397, allocations: 0.6731 MB / 0.9093 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.206e-06/0.2397, allocations: 0 / 0.9093 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.259e-05/0.2397, allocations: 10.19 kB / 0.9093 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2397, allocations: 4 kB / 0.9093 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0105/0.2502, allocations: 0.7429 MB / 0.9101 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/0.2504, allocations: 212.6 kB / 0.9103 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.472/1.723, allocations: 0 / 0.9103 GB, free: 53.53 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)