Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.423/2.423, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001417/0.001417, allocations: 184.8 kB / 360.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.069/2.069, allocations: 205.2 MB / 0.6191 GB, free: 12.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.001111/0.001111, allocations: 88.3 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.179e-05/2.186e-05, allocations: 0 / 0.8508 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8693/0.8693, allocations: 115.2 MB / 0.9634 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.099/6.969, allocations: 2.068 GB / 3.031 GB, free: 51.43 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/6.969, allocations: 88.55 kB / 3.031 GB, free: 51.38 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.171/8.141, allocations: 162.2 MB / 3.19 GB, free: 283.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.363e-06/8.141, allocations: 0 / 3.19 GB, free: 283.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.296e-05/8.141, allocations: 12 kB / 3.19 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.001126/8.142, allocations: 0.6223 MB / 3.19 GB, free: 282.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/8.142, allocations: 15.97 kB / 3.19 GB, free: 282.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001302/8.143, allocations: 127.4 kB / 3.19 GB, free: 282.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008358/8.144, allocations: 407.6 kB / 3.191 GB, free: 282.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/8.144, allocations: 8.859 kB / 3.191 GB, free: 282.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.036e-05/8.144, allocations: 20 kB / 3.191 GB, free: 282.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004546/8.145, allocations: 181 kB / 3.191 GB, free: 282 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004964/8.145, allocations: 226.6 kB / 3.191 GB, free: 281.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/8.145, allocations: 0 / 3.191 GB, free: 281.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.606e-05/8.145, allocations: 0 / 3.191 GB, free: 281.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.792e-05/8.145, allocations: 20.55 kB / 3.191 GB, free: 281.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002093/8.147, allocations: 1.234 MB / 3.192 GB, free: 280.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004714/8.148, allocations: 174.9 kB / 3.192 GB, free: 280.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/8.148, allocations: 84.84 kB / 3.193 GB, free: 280.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/8.148, allocations: 4.344 kB / 3.193 GB, free: 280.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/8.148, allocations: 34.52 kB / 3.193 GB, free: 280.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 3.026e-06/8.148, allocations: 0 / 3.193 GB, free: 280.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0007638/8.149, allocations: 220.6 kB / 3.193 GB, free: 279.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/8.149, allocations: 59.34 kB / 3.193 GB, free: 279.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00031/8.149, allocations: 238.3 kB / 3.193 GB, free: 279.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/8.149, allocations: 25.7 kB / 3.193 GB, free: 279.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/8.149, allocations: 192.1 kB / 3.193 GB, free: 279.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.415e-05/8.15, allocations: 70.94 kB / 3.193 GB, free: 279.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.341e-05/8.15, allocations: 0 / 3.193 GB, free: 279.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.194e-05/8.15, allocations: 338.8 kB / 3.194 GB, free: 278.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/8.15, allocations: 59.94 kB / 3.194 GB, free: 278.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/8.15, allocations: 110.8 kB / 3.194 GB, free: 278.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/8.15, allocations: 76 kB / 3.194 GB, free: 278.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/8.15, allocations: 3.953 kB / 3.194 GB, free: 278.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004453/8.151, allocations: 221.1 kB / 3.194 GB, free: 278.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/8.151, allocations: 7.953 kB / 3.194 GB, free: 278.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/8.151, allocations: 0 / 3.194 GB, free: 278.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/8.151, allocations: 4.188 kB / 3.194 GB, free: 278.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/8.151, allocations: 49.89 kB / 3.194 GB, free: 278.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/8.151, allocations: 4 kB / 3.194 GB, free: 278.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005093/8.152, allocations: 19.77 kB / 3.194 GB, free: 278.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/8.152, allocations: 12 kB / 3.194 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 9.04e-05/8.152, allocations: 108.7 kB / 3.194 GB, free: 278.2 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005298/8.152, allocations: 216.6 kB / 3.195 GB, free: 278 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.065e-05/8.152, allocations: 27.62 kB / 3.195 GB, free: 278 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/8.152, allocations: 34.08 kB / 3.195 GB, free: 277.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/8.153, allocations: 4 kB / 3.195 GB, free: 277.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/8.153, allocations: 0 / 3.195 GB, free: 277.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/8.153, allocations: 3.984 kB / 3.195 GB, free: 277.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006214/8.153, allocations: 349.8 kB / 3.195 GB, free: 277.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/8.153, allocations: 3.984 kB / 3.195 GB, free: 277.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003529/8.154, allocations: 47.88 kB / 3.195 GB, free: 277.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002657/8.154, allocations: 44.83 kB / 3.195 GB, free: 277.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/8.154, allocations: 0 / 3.195 GB, free: 277.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/8.155, allocations: 1.377 MB / 3.196 GB, free: 275.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/8.155, allocations: 0 / 3.196 GB, free: 275.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007102/8.156, allocations: 396.2 kB / 3.197 GB, free: 275.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/8.156, allocations: 128.7 kB / 3.197 GB, free: 275.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.292e-05/8.156, allocations: 0 / 3.197 GB, free: 275.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004346/8.157, allocations: 14.41 kB / 3.197 GB, free: 275.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/8.157, allocations: 15.92 kB / 3.197 GB, free: 275.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/8.157, allocations: 7.984 kB / 3.197 GB, free: 275.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002399/8.157, allocations: 190 kB / 3.197 GB, free: 275.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.21e-07/8.157, allocations: 0 / 3.197 GB, free: 275.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007673/8.158, allocations: 143.7 kB / 3.197 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.001902/8.16, allocations: 1.626 MB / 3.199 GB, free: 273.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003874/8.16, allocations: 147.8 kB / 3.199 GB, free: 273.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/8.16, allocations: 1.406 kB / 3.199 GB, free: 273.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003568/8.16, allocations: 194 kB / 3.199 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.001527/8.162, allocations: 189.6 kB / 3.199 GB, free: 272.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/8.164, allocations: 0.6089 MB / 3.2 GB, free: 272.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/8.164, allocations: 0.8031 MB / 3.201 GB, free: 271.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004348/8.164, allocations: 63.23 kB / 3.201 GB, free: 271.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/8.165, allocations: 107.4 kB / 3.201 GB, free: 271.2 MB / 0.948 GB Notification: Performance of SimCode: time 9.22e-07/8.165, allocations: 0 / 3.201 GB, free: 271.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05843/8.223, allocations: 13.47 MB / 3.214 GB, free: 257.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/8.223, allocations: 132.2 kB / 3.214 GB, free: 257.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.902/11.12, allocations: 4 kB / 3.214 GB, free: 257.7 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)