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.001395/0.001395, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001731/0.001731, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.294/1.294, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.627/2.627, allocations: 461.9 MB / 0.7344 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 63.52 kB / 0.8987 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.323, allocations: 157.4 MB / 1.052 GB, free: 8.676 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2038/0.5268, allocations: 160.2 MB / 1.209 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.007147/0.5341, allocations: 2.891 MB / 1.212 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006789/0.5348, allocations: 15.94 kB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009333/0.5357, allocations: 187.1 kB / 1.212 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002404/0.5382, allocations: 0.7197 MB / 1.213 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.5393, allocations: 318.5 kB / 1.213 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001522/0.5408, allocations: 0.9389 MB / 1.214 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004561/0.5413, allocations: 250.3 kB / 1.214 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000687/0.542, allocations: 342.6 kB / 1.214 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.5431, allocations: 298.9 kB / 1.215 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.058e-05/0.5432, allocations: 36 kB / 1.215 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001563/0.5447, allocations: 0.678 MB / 1.215 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.5449, allocations: 123.6 kB / 1.215 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002894/0.5452, allocations: 215.1 kB / 1.216 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.5466, allocations: 0.7945 MB / 1.216 GB, free: 88 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.5467, allocations: 0 / 1.216 GB, free: 88 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.784e-06/0.5467, allocations: 0 / 1.216 GB, free: 88 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.5467, allocations: 0 / 1.216 GB, free: 88 kB / 0.9669 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.001507/0.5482, allocations: 0.7142 MB / 1.217 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.5483, allocations: 12.62 kB / 1.217 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.588e-05/0.5484, allocations: 62.53 kB / 1.217 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001535/0.5499, allocations: 131.4 kB / 1.217 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008003/0.5507, allocations: 414.1 kB / 1.218 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.5508, allocations: 24.55 kB / 1.218 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.516e-05/0.5509, allocations: 24 kB / 1.218 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006871/0.5516, allocations: 279.7 kB / 1.218 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.5516, allocations: 0 / 1.218 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.496e-05/0.5516, allocations: 8 kB / 1.218 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-05/0.5517, allocations: 16.5 kB / 1.218 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005216/0.5522, allocations: 198.1 kB / 1.218 GB, free: 14.12 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.002436/0.5547, allocations: 1.322 MB / 1.22 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005708/0.5553, allocations: 194.8 kB / 1.22 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.5555, allocations: 88.83 kB / 1.22 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.5555, allocations: 0 / 1.22 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.5556, allocations: 34.56 kB / 1.22 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.553e-06/0.5556, allocations: 0 / 1.22 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.001368/0.5569, allocations: 400.6 kB / 1.22 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.557, allocations: 55.41 kB / 1.22 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004611/0.5575, allocations: 304.5 kB / 1.221 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/0.5575, allocations: 33.7 kB / 1.221 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.5577, allocations: 188.1 kB / 1.221 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.528e-05/0.5578, allocations: 74.98 kB / 1.221 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.5579, allocations: 37.72 kB / 1.221 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.5581, allocations: 342.8 kB / 1.221 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.5583, allocations: 63.97 kB / 1.221 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.5585, allocations: 115.3 kB / 1.221 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/0.5589, allocations: 196.2 kB / 1.222 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.5589, allocations: 0 / 1.222 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005545/0.5595, allocations: 249.1 kB / 1.222 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.5595, allocations: 8 kB / 1.222 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.5595, allocations: 3.938 kB / 1.222 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.5596, allocations: 4 kB / 1.222 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.5599, allocations: 47.92 kB / 1.222 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.5599, allocations: 3.984 kB / 1.222 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004538/0.5604, allocations: 27.94 kB / 1.222 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.5604, allocations: 8 kB / 1.222 GB, free: 10.08 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.0002181/0.5606, allocations: 161.7 kB / 1.222 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.931e-05/0.5608, allocations: 31.66 kB / 1.222 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.5609, allocations: 39.08 kB / 1.222 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.5609, allocations: 4 kB / 1.222 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.5609, allocations: 0 / 1.222 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.5609, allocations: 7.922 kB / 1.222 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00077/0.5617, allocations: 401.3 kB / 1.223 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.5617, allocations: 0 / 1.223 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/0.562, allocations: 43.86 kB / 1.223 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002956/0.5623, allocations: 40.83 kB / 1.223 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.5624, allocations: 4 kB / 1.223 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/0.5641, allocations: 1.516 MB / 1.224 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5641, allocations: 4.031 kB / 1.224 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008157/0.5649, allocations: 401.4 kB / 1.224 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/0.5651, allocations: 128.8 kB / 1.225 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.784e-05/0.5652, allocations: 7.938 kB / 1.225 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004199/0.5657, allocations: 15.98 kB / 1.225 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.5657, allocations: 7.984 kB / 1.225 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.5658, allocations: 12 kB / 1.225 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003292/0.5661, allocations: 215.1 kB / 1.225 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5661, allocations: 0 / 1.225 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006612/0.5668, allocations: 107.8 kB / 1.225 GB, free: 6.727 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.001249/0.568, allocations: 0.9408 MB / 1.226 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00048/0.5685, allocations: 173.6 kB / 1.226 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.5686, allocations: 12.06 kB / 1.226 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004578/0.569, allocations: 198.5 kB / 1.226 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/0.5706, allocations: 202.3 kB / 1.226 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005351/0.5759, allocations: 3.03 MB / 1.229 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004832/0.5764, allocations: 0.8034 MB / 1.23 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000449/0.5769, allocations: 63.23 kB / 1.23 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.5771, allocations: 103.4 kB / 1.23 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of SimCode: time 7.31e-07/0.5771, allocations: 0 / 1.23 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5271/1.104, allocations: 8.8 MB / 1.239 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002593/1.105, allocations: 228.4 kB / 1.239 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/3.1, allocations: 0 / 1.239 GB, free: 8.219 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)