Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_10_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_10_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 191.7 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.295/2.295, allocations: 437 MB / 0.7101 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.91 kB / 0.8688 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4781/0.4793, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1476/0.6269, allocations: 160.2 MB / 1.173 GB, free: 1.914 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004409/0.6314, allocations: 2.897 MB / 1.176 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005847/0.632, allocations: 11.94 kB / 1.176 GB, free: 15 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007624/0.6328, allocations: 183.1 kB / 1.176 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001961/0.6348, allocations: 0.7275 MB / 1.177 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000791/0.6356, allocations: 315.4 kB / 1.177 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001264/0.6369, allocations: 0.935 MB / 1.178 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004476/0.6373, allocations: 250.3 kB / 1.179 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006302/0.638, allocations: 334.6 kB / 1.179 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009599/0.6389, allocations: 314.1 kB / 1.179 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.782e-05/0.639, allocations: 32 kB / 1.179 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.6401, allocations: 0.6819 MB / 1.18 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.6403, allocations: 131.7 kB / 1.18 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002851/0.6406, allocations: 219 kB / 1.18 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.6417, allocations: 0.7868 MB / 1.181 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.6417, allocations: 0 / 1.181 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6417, allocations: 0 / 1.181 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.621e-05/0.6418, allocations: 4 kB / 1.181 GB, free: 10.11 MB / 0.9356 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.001222/0.643, allocations: 0.705 MB / 1.182 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.643, allocations: 12.02 kB / 1.182 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.141e-05/0.6431, allocations: 58.55 kB / 1.182 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.6442, allocations: 147.3 kB / 1.182 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005269/0.6447, allocations: 402.3 kB / 1.182 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.6448, allocations: 20.5 kB / 1.182 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.391e-05/0.6448, allocations: 24 kB / 1.182 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004275/0.6452, allocations: 279.7 kB / 1.183 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.6453, allocations: 0 / 1.183 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.6453, allocations: 12 kB / 1.183 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.6453, allocations: 8.562 kB / 1.183 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003054/0.6456, allocations: 202.1 kB / 1.183 GB, free: 8.152 MB / 0.9356 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.001523/0.6472, allocations: 1.322 MB / 1.184 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003516/0.6475, allocations: 190.9 kB / 1.184 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.6477, allocations: 88.83 kB / 1.184 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.6477, allocations: 4 kB / 1.184 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.6477, allocations: 34.56 kB / 1.184 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=19): time 1.172e-06/0.6477, allocations: 0 / 1.184 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.0008568/0.6486, allocations: 408.9 kB / 1.185 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.6486, allocations: 51.41 kB / 1.185 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.6489, allocations: 300.6 kB / 1.185 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.6489, allocations: 33.7 kB / 1.185 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.6491, allocations: 196 kB / 1.185 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.782e-05/0.6491, allocations: 70.94 kB / 1.185 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-05/0.6492, allocations: 45.7 kB / 1.185 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.6493, allocations: 338.8 kB / 1.186 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.795e-05/0.6494, allocations: 59.97 kB / 1.186 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.6495, allocations: 119.5 kB / 1.186 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.6498, allocations: 203.4 kB / 1.186 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6498, allocations: 0 / 1.186 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003189/0.6501, allocations: 245 kB / 1.186 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.6501, allocations: 10.48 kB / 1.186 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.6501, allocations: 4 kB / 1.186 GB, free: 4.195 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.6502, allocations: 3.938 kB / 1.186 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.6503, allocations: 43.92 kB / 1.186 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.6504, allocations: 4.188 kB / 1.186 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/0.6506, allocations: 23.84 kB / 1.186 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.6506, allocations: 8 kB / 1.186 GB, free: 4.113 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001362/0.6508, allocations: 162.3 kB / 1.187 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.731e-05/0.6508, allocations: 35.56 kB / 1.187 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.831e-05/0.6509, allocations: 35.08 kB / 1.187 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.6509, allocations: 3.984 kB / 1.187 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.6509, allocations: 8 kB / 1.187 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.651, allocations: 3.938 kB / 1.187 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004408/0.6514, allocations: 409.2 kB / 1.187 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.6514, allocations: 0 / 1.187 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.6516, allocations: 39.86 kB / 1.187 GB, free: 3.375 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001956/0.6518, allocations: 48.81 kB / 1.187 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.6518, allocations: 0 / 1.187 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.6529, allocations: 1.519 MB / 1.189 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.6529, allocations: 4.062 kB / 1.189 GB, free: 1.66 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004871/0.6534, allocations: 398.1 kB / 1.189 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.6535, allocations: 120.8 kB / 1.189 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.224e-05/0.6536, allocations: 19.86 kB / 1.189 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.6538, allocations: 11.91 kB / 1.189 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.6539, allocations: 15.98 kB / 1.189 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.6539, allocations: 7.984 kB / 1.189 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001887/0.6541, allocations: 215.1 kB / 1.189 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6541, allocations: 0 / 1.189 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003604/0.6544, allocations: 103.8 kB / 1.189 GB, free: 0.7539 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000764/0.6552, allocations: 0.9449 MB / 1.19 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002754/0.6555, allocations: 175.8 kB / 1.191 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.6555, allocations: 0 / 1.191 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.6558, allocations: 202.5 kB / 1.191 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008899/0.6567, allocations: 210.1 kB / 1.191 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003079/0.6598, allocations: 3.036 MB / 1.194 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.6601, allocations: 0.7918 MB / 1.195 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000241/0.6603, allocations: 59.23 kB / 1.195 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.6604, allocations: 111.4 kB / 1.195 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of SimCode: time 2.81e-07/0.6605, allocations: 0 / 1.195 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5982/1.259, allocations: 8.785 MB / 1.203 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/1.259, allocations: 218.8 kB / 1.204 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/3.184, allocations: 0 / 1.204 GB, free: 2.277 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_10_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)