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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001285/0.001285, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001302/0.001302, allocations: 198.1 kB / 16.14 MB, free: 6.645 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.279/1.279, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.416/2.416, allocations: 437 MB / 0.7099 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 67.89 kB / 0.8687 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5011/0.5025, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1511/0.6536, allocations: 160.2 MB / 1.173 GB, free: 2.031 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004028/0.6577, allocations: 2.953 MB / 1.176 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004121/0.6581, allocations: 19.81 kB / 1.176 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005942/0.6588, allocations: 179.1 kB / 1.176 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001557/0.6603, allocations: 0.7314 MB / 1.177 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000679/0.661, allocations: 310.8 kB / 1.177 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001259/0.6623, allocations: 1.231 MB / 1.178 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003216/0.6626, allocations: 222.1 kB / 1.179 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004732/0.6631, allocations: 290.6 kB / 1.179 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007802/0.6639, allocations: 294.4 kB / 1.179 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.135e-05/0.664, allocations: 16 kB / 1.179 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.6652, allocations: 0.7481 MB / 1.18 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.6653, allocations: 103.7 kB / 1.18 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002164/0.6655, allocations: 195 kB / 1.18 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009549/0.6665, allocations: 0.7712 MB / 1.181 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.6665, allocations: 3.938 kB / 1.181 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.81e-07/0.6665, allocations: 0 / 1.181 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.6665, allocations: 0 / 1.181 GB, free: 9.977 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.001075/0.6676, allocations: 0.7128 MB / 1.182 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.6677, allocations: 8.031 kB / 1.182 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.1e-05/0.6677, allocations: 62.53 kB / 1.182 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.6688, allocations: 135.4 kB / 1.182 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005405/0.6693, allocations: 410.3 kB / 1.182 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.6693, allocations: 16.56 kB / 1.182 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.414e-05/0.6694, allocations: 24 kB / 1.182 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004331/0.6698, allocations: 279.6 kB / 1.183 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.6698, allocations: 0 / 1.183 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.6699, allocations: 12 kB / 1.183 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.6699, allocations: 8.562 kB / 1.183 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003364/0.6702, allocations: 202.1 kB / 1.183 GB, free: 8.02 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.001587/0.6718, allocations: 1.322 MB / 1.184 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003752/0.6722, allocations: 198.8 kB / 1.184 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.6724, allocations: 92.83 kB / 1.184 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.6724, allocations: 4 kB / 1.184 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.6724, allocations: 30.56 kB / 1.184 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=19): time 1.383e-06/0.6724, allocations: 0 / 1.184 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.0009071/0.6733, allocations: 401.7 kB / 1.185 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.6734, allocations: 55.41 kB / 1.185 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.6737, allocations: 304.5 kB / 1.185 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.6737, allocations: 29.64 kB / 1.185 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.6738, allocations: 200 kB / 1.185 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.409e-05/0.6739, allocations: 74.92 kB / 1.185 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.945e-05/0.674, allocations: 41.72 kB / 1.185 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.6741, allocations: 338.8 kB / 1.186 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.6742, allocations: 63.97 kB / 1.186 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.6743, allocations: 119.5 kB / 1.186 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.6746, allocations: 193.9 kB / 1.186 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.6746, allocations: 4 kB / 1.186 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003525/0.675, allocations: 250.2 kB / 1.186 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.675, allocations: 4 kB / 1.186 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.675, allocations: 4 kB / 1.186 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.675, allocations: 0 / 1.186 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.6752, allocations: 43.92 kB / 1.186 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.6752, allocations: 11.92 kB / 1.186 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/0.6755, allocations: 27.94 kB / 1.186 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.6756, allocations: 12 kB / 1.186 GB, free: 3.969 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.0001369/0.6757, allocations: 158.3 kB / 1.187 GB, free: 3.805 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.344e-05/0.6758, allocations: 31.66 kB / 1.187 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.41e-05/0.6759, allocations: 35.08 kB / 1.187 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.6759, allocations: 0 / 1.187 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.6759, allocations: 0 / 1.187 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.6759, allocations: 8 kB / 1.187 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004644/0.6763, allocations: 409.2 kB / 1.187 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6764, allocations: 4 kB / 1.187 GB, free: 3.281 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.6765, allocations: 35.86 kB / 1.187 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001913/0.6767, allocations: 44.83 kB / 1.187 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.6768, allocations: 4 kB / 1.187 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.6778, allocations: 1.409 MB / 1.189 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.6779, allocations: 4.031 kB / 1.189 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000528/0.6784, allocations: 398.5 kB / 1.189 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.6785, allocations: 132.7 kB / 1.189 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/0.6786, allocations: 4 kB / 1.189 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.6789, allocations: 12 kB / 1.189 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.6789, allocations: 15.86 kB / 1.189 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.6789, allocations: 7.984 kB / 1.189 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002012/0.6791, allocations: 219.1 kB / 1.189 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6791, allocations: 4 kB / 1.189 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003801/0.6795, allocations: 103.8 kB / 1.189 GB, free: 0.7344 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.0007979/0.6803, allocations: 0.9447 MB / 1.19 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000257/0.6806, allocations: 165.9 kB / 1.19 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.6806, allocations: 4 kB / 1.19 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002731/0.6809, allocations: 203 kB / 1.191 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009325/0.6818, allocations: 180 kB / 1.191 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/0.6852, allocations: 3.054 MB / 1.194 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.6855, allocations: 0.7957 MB / 1.195 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002467/0.6858, allocations: 59.25 kB / 1.195 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.6859, allocations: 103.4 kB / 1.195 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of SimCode: time 3.81e-07/0.6859, allocations: 0 / 1.195 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.7072, allocations: 8.511 MB / 1.203 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/0.7074, allocations: 225 kB / 1.203 GB, free: 2.516 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/2.545, allocations: 0 / 1.203 GB, free: 2.516 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)