Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_latest_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.001479/0.001479, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.274/1.274, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.518/2.518, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 68 kB / 0.8992 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2818, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1729/0.4547, allocations: 162.4 MB / 1.211 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00419/0.4589, allocations: 2.913 MB / 1.214 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005196/0.4594, allocations: 19.88 kB / 1.214 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000655/0.4602, allocations: 202.8 kB / 1.215 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00184/0.462, allocations: 0.7699 MB / 1.215 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007862/0.4628, allocations: 347.2 kB / 1.216 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001169/0.464, allocations: 0.9312 MB / 1.217 GB, free: 52 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004231/0.4644, allocations: 262.2 kB / 1.217 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006023/0.465, allocations: 330.7 kB / 1.217 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008748/0.4659, allocations: 290.6 kB / 1.217 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.704e-05/0.466, allocations: 36 kB / 1.217 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.4671, allocations: 0.643 MB / 1.218 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.4673, allocations: 131.6 kB / 1.218 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000274/0.4676, allocations: 218.9 kB / 1.218 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.4687, allocations: 0.744 MB / 1.219 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4687, allocations: 0 / 1.219 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4687, allocations: 0 / 1.219 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.446e-05/0.4687, allocations: 0 / 1.219 GB, free: 13.42 MB / 0.9825 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.00119/0.4699, allocations: 0.7128 MB / 1.22 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.47, allocations: 8.625 kB / 1.22 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.987e-05/0.4701, allocations: 58.55 kB / 1.22 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.4711, allocations: 147.4 kB / 1.22 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005728/0.4717, allocations: 406.2 kB / 1.22 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.4717, allocations: 20.56 kB / 1.22 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.597e-05/0.4718, allocations: 24 kB / 1.22 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004441/0.4722, allocations: 287.7 kB / 1.221 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.4723, allocations: 0 / 1.221 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.4723, allocations: 4 kB / 1.221 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.4723, allocations: 16.56 kB / 1.221 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000329/0.4727, allocations: 198.1 kB / 1.221 GB, free: 11.45 MB / 0.9825 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.001686/0.4744, allocations: 1.33 MB / 1.222 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003679/0.4747, allocations: 190.8 kB / 1.222 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.4749, allocations: 88.83 kB / 1.222 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.4749, allocations: 4 kB / 1.222 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.4749, allocations: 34.56 kB / 1.223 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.292e-06/0.4749, allocations: 0 / 1.223 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.000939/0.4759, allocations: 400.6 kB / 1.223 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.4759, allocations: 59.39 kB / 1.223 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/0.4762, allocations: 300.5 kB / 1.223 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.4763, allocations: 29.7 kB / 1.223 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.4764, allocations: 188.1 kB / 1.223 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.241e-05/0.4765, allocations: 71 kB / 1.224 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.695e-05/0.4765, allocations: 37.72 kB / 1.224 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.4767, allocations: 346.8 kB / 1.224 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.4768, allocations: 67.97 kB / 1.224 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.4769, allocations: 107.3 kB / 1.224 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002456/0.4771, allocations: 203.4 kB / 1.224 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4772, allocations: 0 / 1.224 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003542/0.4775, allocations: 246.2 kB / 1.224 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.4775, allocations: 12.19 kB / 1.224 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.4776, allocations: 0 / 1.224 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.4776, allocations: 4 kB / 1.224 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.4778, allocations: 55.84 kB / 1.225 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.4778, allocations: 3.984 kB / 1.225 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.4781, allocations: 15.75 kB / 1.225 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.4781, allocations: 12 kB / 1.225 GB, free: 7.414 MB / 0.9825 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.0001482/0.4782, allocations: 161.7 kB / 1.225 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.331e-05/0.4783, allocations: 31.66 kB / 1.225 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.4e-05/0.4784, allocations: 43.08 kB / 1.225 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4784, allocations: 4 kB / 1.225 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4784, allocations: 0 / 1.225 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4784, allocations: 0 / 1.225 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004629/0.4789, allocations: 405.2 kB / 1.225 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.4789, allocations: 0 / 1.225 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/0.4791, allocations: 43.86 kB / 1.225 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001988/0.4793, allocations: 36.83 kB / 1.225 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.4793, allocations: 12 kB / 1.225 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.4805, allocations: 1.516 MB / 1.227 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.4805, allocations: 0 / 1.227 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005137/0.481, allocations: 401.5 kB / 1.227 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.4811, allocations: 124.8 kB / 1.227 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.698e-05/0.4812, allocations: 11.94 kB / 1.227 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.4814, allocations: 12.06 kB / 1.227 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.4815, allocations: 7.984 kB / 1.227 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.4815, allocations: 11.98 kB / 1.227 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000199/0.4817, allocations: 215.1 kB / 1.228 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4817, allocations: 0 / 1.228 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003862/0.4821, allocations: 103.8 kB / 1.228 GB, free: 4.066 MB / 0.9825 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.0008146/0.4829, allocations: 0.9436 MB / 1.229 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002952/0.4832, allocations: 177.5 kB / 1.229 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4832, allocations: 0 / 1.229 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000276/0.4835, allocations: 198.6 kB / 1.229 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009574/0.4845, allocations: 196.7 kB / 1.229 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003249/0.4877, allocations: 2.928 MB / 1.232 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.4881, allocations: 0.7995 MB / 1.233 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002709/0.4884, allocations: 63.23 kB / 1.233 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.4885, allocations: 107.4 kB / 1.233 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/0.4885, allocations: 0 / 1.233 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.84/2.328, allocations: 8.914 MB / 1.242 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/12.61, allocations: 7.844 kB / 1.242 GB, free: 5.77 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)