Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.853/1.853, allocations: 288.2 MB / 303.2 MB, free: 8.141 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.001315/0.001315, allocations: 190.7 kB / 371.8 MB, free: 10.29 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.854/1.854, allocations: 205.4 MB / 0.6305 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 89.66 kB / 0.7439 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004534/0.0004534, allocations: 11.47 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2568, allocations: 115.3 MB / 0.9795 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.614/5.871, allocations: 2.069 GB / 3.048 GB, free: 248.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/5.871, allocations: 92.8 kB / 3.048 GB, free: 248.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2976/6.169, allocations: 164.3 MB / 3.209 GB, free: 81.33 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.235e-06/6.169, allocations: 0 / 3.209 GB, free: 81.33 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.635e-05/6.169, allocations: 12 kB / 3.209 GB, free: 81.32 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.00113/6.17, allocations: 0.6818 MB / 3.209 GB, free: 80.59 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/6.17, allocations: 16.02 kB / 3.209 GB, free: 80.57 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.575e-05/6.17, allocations: 62.53 kB / 3.209 GB, free: 80.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008844/6.171, allocations: 127.4 kB / 3.209 GB, free: 80.38 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005654/6.172, allocations: 410.6 kB / 3.21 GB, free: 79.94 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/6.172, allocations: 20.56 kB / 3.21 GB, free: 79.92 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.095e-05/6.172, allocations: 24 kB / 3.21 GB, free: 79.89 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004217/6.172, allocations: 271.6 kB / 3.21 GB, free: 79.61 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/6.172, allocations: 0 / 3.21 GB, free: 79.61 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/6.172, allocations: 8 kB / 3.21 GB, free: 79.61 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/6.172, allocations: 20.55 kB / 3.21 GB, free: 79.59 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/6.173, allocations: 186.2 kB / 3.21 GB, free: 79.41 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/6.174, allocations: 1.309 MB / 3.212 GB, free: 77.96 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/6.174, allocations: 184.1 kB / 3.212 GB, free: 77.77 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/6.174, allocations: 4 kB / 3.212 GB, free: 77.77 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/6.175, allocations: 34.56 kB / 3.212 GB, free: 77.72 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.453e-06/6.175, allocations: 11.94 kB / 3.212 GB, free: 77.71 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0008403/6.175, allocations: 397.8 kB / 3.212 GB, free: 77.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/6.175, allocations: 59.36 kB / 3.212 GB, free: 77.23 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/6.176, allocations: 263.7 kB / 3.213 GB, free: 76.96 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/6.176, allocations: 29.7 kB / 3.213 GB, free: 76.93 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.754e-05/6.176, allocations: 196.3 kB / 3.213 GB, free: 76.73 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.181e-05/6.176, allocations: 71.03 kB / 3.213 GB, free: 76.66 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.846e-06/6.176, allocations: 0 / 3.213 GB, free: 76.66 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.422e-05/6.176, allocations: 338.8 kB / 3.213 GB, free: 76.32 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.391e-05/6.176, allocations: 71.91 kB / 3.213 GB, free: 76.25 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/6.176, allocations: 123.6 kB / 3.213 GB, free: 76.11 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/6.176, allocations: 82.56 kB / 3.213 GB, free: 76.03 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/6.176, allocations: 0 / 3.213 GB, free: 76.03 MB / 0.948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002901/6.177, allocations: 245.1 kB / 3.214 GB, free: 75.78 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/6.177, allocations: 8 kB / 3.214 GB, free: 75.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/6.177, allocations: 0 / 3.214 GB, free: 75.77 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/6.177, allocations: 4 kB / 3.214 GB, free: 75.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/6.177, allocations: 43.92 kB / 3.214 GB, free: 75.73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/6.177, allocations: 11.94 kB / 3.214 GB, free: 75.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003033/6.177, allocations: 24.02 kB / 3.214 GB, free: 75.69 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/6.177, allocations: 12 kB / 3.214 GB, free: 75.68 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001502/6.177, allocations: 157.8 kB / 3.214 GB, free: 75.52 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.533e-05/6.177, allocations: 31.62 kB / 3.214 GB, free: 75.48 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.845e-05/6.178, allocations: 34.36 kB / 3.214 GB, free: 75.45 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/6.178, allocations: 4 kB / 3.214 GB, free: 75.45 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/6.178, allocations: 4 kB / 3.214 GB, free: 75.44 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/6.178, allocations: 3.953 kB / 3.214 GB, free: 75.44 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004355/6.178, allocations: 405.2 kB / 3.214 GB, free: 74.99 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/6.178, allocations: 0 / 3.214 GB, free: 74.99 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/6.178, allocations: 47.84 kB / 3.214 GB, free: 74.95 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002121/6.178, allocations: 44.83 kB / 3.214 GB, free: 74.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/6.178, allocations: 0 / 3.214 GB, free: 74.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009374/6.179, allocations: 1.421 MB / 3.216 GB, free: 73.34 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/6.179, allocations: 0 / 3.216 GB, free: 73.34 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004723/6.18, allocations: 415 kB / 3.216 GB, free: 72.91 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/6.18, allocations: 128.8 kB / 3.216 GB, free: 72.77 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/6.18, allocations: 8 kB / 3.216 GB, free: 72.76 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/6.18, allocations: 15.94 kB / 3.216 GB, free: 72.75 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/6.18, allocations: 11.98 kB / 3.216 GB, free: 72.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/6.18, allocations: 8 kB / 3.216 GB, free: 72.73 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001794/6.181, allocations: 211.1 kB / 3.217 GB, free: 72.52 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/6.181, allocations: 0 / 3.217 GB, free: 72.52 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006347/6.181, allocations: 159.7 kB / 3.217 GB, free: 72.37 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 () * 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 (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.001486/6.183, allocations: 1.536 MB / 3.218 GB, free: 70.81 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002721/6.183, allocations: 167.8 kB / 3.218 GB, free: 70.64 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/6.183, allocations: 0 / 3.218 GB, free: 70.64 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002916/6.183, allocations: 200.5 kB / 3.219 GB, free: 70.44 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008444/6.184, allocations: 191.3 kB / 3.219 GB, free: 70.26 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/6.187, allocations: 2.875 MB / 3.222 GB, free: 67.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/6.187, allocations: 0.804 MB / 3.222 GB, free: 66.47 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002629/6.187, allocations: 66.8 kB / 3.222 GB, free: 66.41 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/6.187, allocations: 103.4 kB / 3.223 GB, free: 66.3 MB / 0.948 GB Notification: Performance of SimCode: time 3.11e-07/6.187, allocations: 0 / 3.223 GB, free: 66.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03492/6.222, allocations: 20.24 MB / 3.242 GB, free: 46.25 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/6.223, allocations: 203.1 kB / 3.242 GB, free: 46.01 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.886/9.109, allocations: 3.938 kB / 3.242 GB, free: 46.01 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)