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.692/1.692, allocations: 289.7 MB / 302.2 MB, free: 2.219 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.001179/0.001179, allocations: 184.9 kB / 371.6 MB, free: 3.438 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.771/1.771, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.001001/0.001001, allocations: 91.22 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.325e-05/5.372e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2951, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.189/6.484, allocations: 2.069 GB / 3.049 GB, free: 172.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/6.484, allocations: 84.61 kB / 3.049 GB, free: 172.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.3083/6.793, allocations: 164.1 MB / 3.21 GB, free: 5.504 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.613e-06/6.793, allocations: 0 / 3.21 GB, free: 5.504 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.495e-05/6.793, allocations: 8 kB / 3.21 GB, free: 5.496 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.0008583/6.793, allocations: 0.6226 MB / 3.21 GB, free: 4.832 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/6.794, allocations: 12.03 kB / 3.21 GB, free: 4.82 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.941e-05/6.794, allocations: 58.55 kB / 3.21 GB, free: 4.754 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009012/6.795, allocations: 131.4 kB / 3.21 GB, free: 4.625 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005731/6.795, allocations: 410.5 kB / 3.211 GB, free: 4.184 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/6.795, allocations: 24.5 kB / 3.211 GB, free: 4.16 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.591e-05/6.795, allocations: 24 kB / 3.211 GB, free: 4.137 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004187/6.796, allocations: 259.8 kB / 3.211 GB, free: 3.871 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/6.796, allocations: 0 / 3.211 GB, free: 3.871 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.793e-05/6.796, allocations: 12 kB / 3.211 GB, free: 3.859 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/6.796, allocations: 12.55 kB / 3.211 GB, free: 3.848 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002978/6.796, allocations: 190.1 kB / 3.211 GB, free: 3.66 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/6.798, allocations: 1.301 MB / 3.213 GB, free: 2.223 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/6.798, allocations: 186.9 kB / 3.213 GB, free: 2.031 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/6.798, allocations: 88.84 kB / 3.213 GB, free: 1.941 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/6.798, allocations: 4 kB / 3.213 GB, free: 1.938 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/6.798, allocations: 34.5 kB / 3.213 GB, free: 1.895 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.303e-06/6.798, allocations: 0 / 3.213 GB, free: 1.895 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0005579/6.799, allocations: 226.5 kB / 3.213 GB, free: 1.664 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/6.799, allocations: 59.36 kB / 3.213 GB, free: 1.594 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/6.799, allocations: 266.6 kB / 3.213 GB, free: 1.328 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/6.799, allocations: 29.7 kB / 3.213 GB, free: 1.293 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.662e-05/6.799, allocations: 188.2 kB / 3.214 GB, free: 1.105 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.843e-05/6.799, allocations: 74.94 kB / 3.214 GB, free: 1.031 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/6.799, allocations: 3.938 kB / 3.214 GB, free: 1.027 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.882e-05/6.799, allocations: 342.8 kB / 3.214 GB, free: 0.6836 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.966e-05/6.799, allocations: 63.98 kB / 3.214 GB, free: 0.6211 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/6.799, allocations: 114.9 kB / 3.214 GB, free: 496 kB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/6.8, allocations: 77.89 kB / 3.214 GB, free: 420 kB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/6.8, allocations: 4 kB / 3.214 GB, free: 416 kB / 0.948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003034/6.8, allocations: 245 kB / 3.215 GB, free: 164 kB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/6.8, allocations: 7.938 kB / 3.215 GB, free: 156 kB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/6.8, allocations: 4.188 kB / 3.215 GB, free: 152 kB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/6.8, allocations: 8 kB / 3.215 GB, free: 144 kB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/6.8, allocations: 39.92 kB / 3.215 GB, free: 104 kB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/6.8, allocations: 7.984 kB / 3.215 GB, free: 96 kB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/6.8, allocations: 23.8 kB / 3.215 GB, free: 72 kB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/6.8, allocations: 8 kB / 3.215 GB, free: 64 kB / 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 0.718/7.518, allocations: 114.1 kB / 3.215 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/7.519, allocations: 29.12 kB / 3.215 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001549/7.519, allocations: 33.92 kB / 3.215 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/7.519, allocations: 2.219 kB / 3.215 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/7.519, allocations: 1.938 kB / 3.215 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/7.519, allocations: 2.031 kB / 3.215 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007175/7.519, allocations: 403.1 kB / 3.215 GB, free: 234 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/7.52, allocations: 4.547 kB / 3.215 GB, free: 234 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001987/7.52, allocations: 42.11 kB / 3.215 GB, free: 234 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002586/7.52, allocations: 39.38 kB / 3.215 GB, free: 234 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/7.52, allocations: 5.516 kB / 3.215 GB, free: 234 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/7.521, allocations: 1.41 MB / 3.217 GB, free: 232.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/7.521, allocations: 0 / 3.217 GB, free: 232.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005524/7.522, allocations: 410.1 kB / 3.217 GB, free: 232.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/7.522, allocations: 132 kB / 3.217 GB, free: 232.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/7.522, allocations: 7.812 kB / 3.217 GB, free: 232.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/7.522, allocations: 12.06 kB / 3.217 GB, free: 232.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/7.522, allocations: 16.95 kB / 3.217 GB, free: 232.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/7.522, allocations: 16.75 kB / 3.217 GB, free: 232.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002153/7.522, allocations: 208.8 kB / 3.217 GB, free: 232.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/7.522, allocations: 0 / 3.217 GB, free: 232.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006611/7.523, allocations: 154.7 kB / 3.218 GB, free: 232.4 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.001789/7.525, allocations: 1.542 MB / 3.219 GB, free: 231.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003361/7.525, allocations: 163.9 kB / 3.219 GB, free: 231.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/7.525, allocations: 2.438 kB / 3.219 GB, free: 231.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002991/7.526, allocations: 190.5 kB / 3.219 GB, free: 231.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00092/7.526, allocations: 191.8 kB / 3.22 GB, free: 231.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/7.528, allocations: 0.6335 MB / 3.22 GB, free: 231.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/7.528, allocations: 0.8014 MB / 3.221 GB, free: 230.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002751/7.528, allocations: 64.55 kB / 3.221 GB, free: 230.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/7.529, allocations: 106.8 kB / 3.221 GB, free: 230.6 MB / 0.948 GB Notification: Performance of SimCode: time 5.11e-07/7.529, allocations: 0 / 3.221 GB, free: 230.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06982/7.598, allocations: 22.24 MB / 3.243 GB, free: 230.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/7.599, allocations: 173.8 kB / 3.243 GB, free: 229.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.035/10.63, allocations: 0 / 3.243 GB, free: 229.9 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)