Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.874/1.874, allocations: 289.9 MB / 297.4 MB, free: 6.309 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.001201/0.001201, allocations: 172.8 kB / 366.7 MB, free: 1.645 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.835/1.835, allocations: 205.2 MB / 0.626 GB, free: 7.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009106/0.0009106, allocations: 78.97 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.801e-05/1.802e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7616/0.7617, allocations: 116.3 MB / 0.9733 GB, free: 76.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.878/5.64, allocations: 2.069 GB / 3.042 GB, free: 61.03 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003809/5.641, allocations: 84.7 kB / 3.042 GB, free: 60.95 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9727/6.613, allocations: 162.2 MB / 3.201 GB, free: 283.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.382e-06/6.614, allocations: 0 / 3.201 GB, free: 283.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.207e-05/6.614, allocations: 7.938 kB / 3.201 GB, free: 283.4 MB / 0.948 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.0008987/6.614, allocations: 0.6153 MB / 3.201 GB, free: 282.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/6.615, allocations: 8.031 kB / 3.201 GB, free: 282.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009158/6.615, allocations: 135.4 kB / 3.201 GB, free: 282.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005473/6.616, allocations: 400.2 kB / 3.202 GB, free: 282.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/6.616, allocations: 11.94 kB / 3.202 GB, free: 282.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/6.616, allocations: 16 kB / 3.202 GB, free: 282.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002952/6.616, allocations: 173.6 kB / 3.202 GB, free: 282 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/6.617, allocations: 238.5 kB / 3.202 GB, free: 281.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/6.617, allocations: 4 kB / 3.202 GB, free: 281.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/6.617, allocations: 0 / 3.202 GB, free: 281.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/6.617, allocations: 8.562 kB / 3.202 GB, free: 281.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/6.618, allocations: 1.24 MB / 3.203 GB, free: 280.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/6.618, allocations: 182.9 kB / 3.204 GB, free: 280.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.858e-05/6.619, allocations: 76.84 kB / 3.204 GB, free: 280.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/6.619, allocations: 4 kB / 3.204 GB, free: 280.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/6.619, allocations: 34.91 kB / 3.204 GB, free: 280 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.934e-06/6.619, allocations: 3.984 kB / 3.204 GB, free: 280 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0005094/6.619, allocations: 228.2 kB / 3.204 GB, free: 279.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/6.619, allocations: 55.41 kB / 3.204 GB, free: 279.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/6.619, allocations: 234.3 kB / 3.204 GB, free: 279.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/6.619, allocations: 25.7 kB / 3.204 GB, free: 279.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.816e-05/6.619, allocations: 192.1 kB / 3.204 GB, free: 279.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/6.62, allocations: 70.95 kB / 3.204 GB, free: 279.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/6.62, allocations: 0 / 3.204 GB, free: 279.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.101e-05/6.62, allocations: 338.8 kB / 3.205 GB, free: 278.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.012e-05/6.62, allocations: 59.98 kB / 3.205 GB, free: 278.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.568e-05/6.62, allocations: 108.6 kB / 3.205 GB, free: 278.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/6.62, allocations: 79.94 kB / 3.205 GB, free: 278.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/6.62, allocations: 1.219 kB / 3.205 GB, free: 278.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002646/6.62, allocations: 227.5 kB / 3.205 GB, free: 278.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/6.62, allocations: 4 kB / 3.205 GB, free: 278.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/6.62, allocations: 4 kB / 3.205 GB, free: 278.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/6.62, allocations: 3.953 kB / 3.205 GB, free: 278.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/6.62, allocations: 56.03 kB / 3.205 GB, free: 278.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/6.62, allocations: 4 kB / 3.205 GB, free: 278.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/6.621, allocations: 15.84 kB / 3.205 GB, free: 278.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/6.621, allocations: 4 kB / 3.205 GB, free: 278.3 MB / 0.948 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 () * 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 7.004e-05/6.621, allocations: 112.9 kB / 3.205 GB, free: 278.2 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000358/6.621, allocations: 202.2 kB / 3.206 GB, free: 278 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.126e-05/6.621, allocations: 39.58 kB / 3.206 GB, free: 277.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.899e-05/6.621, allocations: 30.08 kB / 3.206 GB, free: 277.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/6.621, allocations: 5.031 kB / 3.206 GB, free: 277.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/6.621, allocations: 0 / 3.206 GB, free: 277.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/6.621, allocations: 0 / 3.206 GB, free: 277.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003632/6.622, allocations: 357.6 kB / 3.206 GB, free: 277.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/6.622, allocations: 4 kB / 3.206 GB, free: 277.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/6.622, allocations: 39.92 kB / 3.206 GB, free: 277.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001939/6.622, allocations: 44.83 kB / 3.206 GB, free: 277.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/6.622, allocations: 3.953 kB / 3.206 GB, free: 277.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008393/6.623, allocations: 1.37 MB / 3.207 GB, free: 275.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/6.623, allocations: 0 / 3.207 GB, free: 275.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004136/6.623, allocations: 390.5 kB / 3.208 GB, free: 275.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.796e-05/6.624, allocations: 135.1 kB / 3.208 GB, free: 275.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/6.624, allocations: 4 kB / 3.208 GB, free: 275.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/6.624, allocations: 12.05 kB / 3.208 GB, free: 275.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.87e-05/6.624, allocations: 19.91 kB / 3.208 GB, free: 275.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/6.624, allocations: 4 kB / 3.208 GB, free: 275.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001336/6.624, allocations: 190 kB / 3.208 GB, free: 275.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/6.624, allocations: 0 / 3.208 GB, free: 275.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004839/6.625, allocations: 151.7 kB / 3.208 GB, free: 275 MB / 0.948 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 () * 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.001345/6.626, allocations: 1.63 MB / 3.21 GB, free: 273.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002362/6.626, allocations: 157.8 kB / 3.21 GB, free: 273.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/6.626, allocations: 0 / 3.21 GB, free: 273.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002283/6.626, allocations: 193.9 kB / 3.21 GB, free: 273.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008397/6.627, allocations: 180.4 kB / 3.21 GB, free: 272.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/6.628, allocations: 0.6045 MB / 3.211 GB, free: 272.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/6.628, allocations: 0.8069 MB / 3.212 GB, free: 271.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002273/6.629, allocations: 59.25 kB / 3.212 GB, free: 271.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/6.629, allocations: 103.4 kB / 3.212 GB, free: 271.3 MB / 0.948 GB Notification: Performance of SimCode: time 2.5e-07/6.629, allocations: 0 / 3.212 GB, free: 271.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02949/6.658, allocations: 13.46 MB / 3.225 GB, free: 257.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001447/6.659, allocations: 139.9 kB / 3.225 GB, free: 257.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.578/9.236, allocations: 4 kB / 3.225 GB, free: 257.7 MB / 0.948 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)