Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.594/1.594, allocations: 288.4 MB / 303.3 MB, free: 8.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008872/0.0008873, allocations: 172.5 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.329/1.329, allocations: 205.4 MB / 0.6307 GB, free: 9.973 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006879/0.0006879, allocations: 87.89 kB / 0.744 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004158/0.0004158, allocations: 14.91 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1872, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.5618/0.7491, allocations: 147.4 MB / 1.124 GB, free: 1.781 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004444/0.7536, allocations: 2.701 MB / 1.126 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007106/0.7543, allocations: 11.31 kB / 1.126 GB, free: 1.555 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006315/0.755, allocations: 142.5 kB / 1.126 GB, free: 1.512 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001738/0.7567, allocations: 0.5618 MB / 1.127 GB, free: 1.367 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007898/0.7575, allocations: 227 kB / 1.127 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001302/0.7588, allocations: 1.042 MB / 1.128 GB, free: 1.188 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002989/0.7591, allocations: 190.2 kB / 1.128 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004467/0.7596, allocations: 279 kB / 1.129 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004436/0.7601, allocations: 264.6 kB / 1.129 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.664e-05/0.7601, allocations: 19.05 kB / 1.129 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008513/0.761, allocations: 314.5 kB / 1.129 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.7611, allocations: 101 kB / 1.129 GB, free: 0.9844 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.7613, allocations: 104.3 kB / 1.129 GB, free: 16.94 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005672/0.7618, allocations: 0.4971 MB / 1.13 GB, free: 16.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.7619, allocations: 0 / 1.13 GB, free: 16.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7619, allocations: 6.922 kB / 1.13 GB, free: 16.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.7619, allocations: 0 / 1.13 GB, free: 16.9 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001037/0.7629, allocations: 0.6407 MB / 1.131 GB, free: 16.41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.763, allocations: 12.77 kB / 1.131 GB, free: 16.4 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.614e-05/0.763, allocations: 63.88 kB / 1.131 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000909/0.764, allocations: 137.7 kB / 1.131 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005325/0.7645, allocations: 387.3 kB / 1.131 GB, free: 16.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.7645, allocations: 18.59 kB / 1.131 GB, free: 16.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.651e-05/0.7646, allocations: 27.31 kB / 1.131 GB, free: 16.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004146/0.765, allocations: 275.3 kB / 1.131 GB, free: 16.04 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.765, allocations: 6.125 kB / 1.131 GB, free: 16.04 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/0.7651, allocations: 12.61 kB / 1.131 GB, free: 16.04 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.7651, allocations: 8.5 kB / 1.131 GB, free: 16.04 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003029/0.7654, allocations: 190.1 kB / 1.132 GB, free: 16.03 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.7672, allocations: 1.319 MB / 1.133 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003514/0.7675, allocations: 204 kB / 1.133 GB, free: 15.14 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.7677, allocations: 88.55 kB / 1.133 GB, free: 15.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.7677, allocations: 2.375 kB / 1.133 GB, free: 15.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.7677, allocations: 39.2 kB / 1.133 GB, free: 15.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.703e-06/0.7677, allocations: 0 / 1.133 GB, free: 15.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.0008673/0.7686, allocations: 405.2 kB / 1.134 GB, free: 14.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.7686, allocations: 51.41 kB / 1.134 GB, free: 14.87 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.7689, allocations: 295.8 kB / 1.134 GB, free: 14.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.769, allocations: 31.83 kB / 1.134 GB, free: 14.72 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.7691, allocations: 191 kB / 1.134 GB, free: 14.61 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.414e-05/0.7692, allocations: 71.94 kB / 1.134 GB, free: 14.56 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-06/0.7692, allocations: 3.25 kB / 1.134 GB, free: 14.56 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.7693, allocations: 335.7 kB / 1.135 GB, free: 14.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.554e-05/0.7694, allocations: 68.34 kB / 1.135 GB, free: 14.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.7695, allocations: 127.8 kB / 1.135 GB, free: 14.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.7697, allocations: 85.16 kB / 1.135 GB, free: 14.17 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7697, allocations: 0 / 1.135 GB, free: 14.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003598/0.7701, allocations: 247.8 kB / 1.135 GB, free: 14.11 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.7701, allocations: 5.281 kB / 1.135 GB, free: 14.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.7701, allocations: 2.656 kB / 1.135 GB, free: 14.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.7701, allocations: 6.578 kB / 1.135 GB, free: 14.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.7703, allocations: 39.91 kB / 1.135 GB, free: 14.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.7703, allocations: 6.875 kB / 1.135 GB, free: 14.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/0.7706, allocations: 36.33 kB / 1.135 GB, free: 14.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.7707, allocations: 9.156 kB / 1.135 GB, free: 14.09 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 26 * 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 0.0001681/0.7708, allocations: 154.3 kB / 1.135 GB, free: 13.97 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.945e-05/0.7709, allocations: 29.41 kB / 1.135 GB, free: 13.96 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.843e-05/0.771, allocations: 36.8 kB / 1.135 GB, free: 13.95 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.771, allocations: 6.844 kB / 1.135 GB, free: 13.95 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.771, allocations: 0 / 1.135 GB, free: 13.95 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.771, allocations: 9.156 kB / 1.135 GB, free: 13.95 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/0.7715, allocations: 407.2 kB / 1.136 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.7715, allocations: 0 / 1.136 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.7717, allocations: 32.45 kB / 1.136 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002159/0.7719, allocations: 42.5 kB / 1.136 GB, free: 13.74 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.7719, allocations: 8.531 kB / 1.136 GB, free: 13.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001182/0.7731, allocations: 1.403 MB / 1.137 GB, free: 12.47 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7731, allocations: 0 / 1.137 GB, free: 12.47 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005414/0.7737, allocations: 420.8 kB / 1.138 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.7739, allocations: 132.3 kB / 1.138 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.7739, allocations: 7.562 kB / 1.138 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/0.7742, allocations: 14.14 kB / 1.138 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.7742, allocations: 14.16 kB / 1.138 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.7742, allocations: 3.344 kB / 1.138 GB, free: 12.18 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002164/0.7745, allocations: 217.8 kB / 1.138 GB, free: 12.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.41e-07/0.7745, allocations: 0 / 1.138 GB, free: 12.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004385/0.7749, allocations: 104.2 kB / 1.138 GB, free: 12.09 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * 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 (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008204/0.7757, allocations: 0.9654 MB / 1.139 GB, free: 11.39 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002638/0.776, allocations: 162.2 kB / 1.139 GB, free: 11.38 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.776, allocations: 3.188 kB / 1.139 GB, free: 11.38 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000283/0.7763, allocations: 204.5 kB / 1.139 GB, free: 11.26 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009595/0.7773, allocations: 180.7 kB / 1.14 GB, free: 11.25 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002684/0.78, allocations: 1.989 MB / 1.141 GB, free: 10.38 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.7803, allocations: 0.7924 MB / 1.142 GB, free: 9.672 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002902/0.7806, allocations: 56.94 kB / 1.142 GB, free: 9.656 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.7807, allocations: 105.8 kB / 1.142 GB, free: 9.648 MB / 0.698 GB Notification: Performance of SimCode: time 3.91e-07/0.7808, allocations: 0 / 1.142 GB, free: 9.648 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02226/0.803, allocations: 8.826 MB / 1.151 GB, free: 5.469 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001594/0.8032, allocations: 219 kB / 1.151 GB, free: 5.227 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.282/3.085, allocations: 3.938 kB / 1.151 GB, free: 5.223 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)