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.872/1.872, allocations: 292.6 MB / 307.5 MB, free: 5.18 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.001198/0.001198, allocations: 177 kB / 377.1 MB, free: 1.492 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.953/1.953, allocations: 205.4 MB / 0.6366 GB, free: 8.57 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.0009512/0.0009507, allocations: 95.88 kB / 0.7509 GB, free: 63.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.0003819, allocations: 8 kB / 0.8748 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.314, allocations: 116.3 MB / 0.9884 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.764/6.078, allocations: 2.069 GB / 3.058 GB, free: 150.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/6.078, allocations: 91.95 kB / 3.058 GB, free: 150.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.014/7.093, allocations: 164.3 MB / 3.218 GB, free: 233.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.052e-06/7.093, allocations: 1.125 kB / 3.218 GB, free: 233.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.617e-05/7.093, allocations: 10.88 kB / 3.218 GB, free: 233.8 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.001973/7.095, allocations: 0.674 MB / 3.219 GB, free: 233.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.241e-05/7.095, allocations: 12.89 kB / 3.219 GB, free: 233.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001801/7.095, allocations: 59.5 kB / 3.219 GB, free: 233.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/7.096, allocations: 134.9 kB / 3.219 GB, free: 233.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/7.097, allocations: 409.8 kB / 3.22 GB, free: 233.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.931e-05/7.097, allocations: 22.09 kB / 3.22 GB, free: 233.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.148e-05/7.097, allocations: 26.5 kB / 3.22 GB, free: 233.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006634/7.098, allocations: 278.5 kB / 3.22 GB, free: 233.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/7.098, allocations: 0 / 3.22 GB, free: 233.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.364e-05/7.098, allocations: 10.44 kB / 3.22 GB, free: 233.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.382e-05/7.098, allocations: 11.34 kB / 3.22 GB, free: 233.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004811/7.099, allocations: 191.9 kB / 3.22 GB, free: 233.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002204/7.101, allocations: 1.304 MB / 3.221 GB, free: 232.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00044/7.101, allocations: 191.6 kB / 3.222 GB, free: 232.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/7.101, allocations: 5.312 kB / 3.222 GB, free: 232.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/7.101, allocations: 36.66 kB / 3.222 GB, free: 232.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 2.104e-06/7.101, allocations: 0 / 3.222 GB, free: 232.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.001064/7.102, allocations: 403.7 kB / 3.222 GB, free: 232.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/7.103, allocations: 53.22 kB / 3.222 GB, free: 232 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003408/7.103, allocations: 259 kB / 3.222 GB, free: 231.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/7.103, allocations: 31.83 kB / 3.222 GB, free: 231.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/7.103, allocations: 195.5 kB / 3.223 GB, free: 231.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.913e-05/7.103, allocations: 70.23 kB / 3.223 GB, free: 231.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.767e-06/7.103, allocations: 3.969 kB / 3.223 GB, free: 231.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.341e-05/7.103, allocations: 343 kB / 3.223 GB, free: 231.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/7.103, allocations: 66.55 kB / 3.223 GB, free: 231.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/7.104, allocations: 119.2 kB / 3.223 GB, free: 231.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/7.104, allocations: 77.47 kB / 3.223 GB, free: 231.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/7.104, allocations: 4.375 kB / 3.223 GB, free: 231.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004311/7.104, allocations: 252.5 kB / 3.224 GB, free: 231.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/7.104, allocations: 5.875 kB / 3.224 GB, free: 231.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/7.104, allocations: 1.906 kB / 3.224 GB, free: 231.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/7.104, allocations: 2.812 kB / 3.224 GB, free: 231.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/7.104, allocations: 51.64 kB / 3.224 GB, free: 231.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/7.104, allocations: 10.2 kB / 3.224 GB, free: 231.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/7.105, allocations: 14.84 kB / 3.224 GB, free: 231.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/7.105, allocations: 9.281 kB / 3.224 GB, free: 231.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 () * 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.000183/7.105, allocations: 165.4 kB / 3.224 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.909e-05/7.105, allocations: 31.19 kB / 3.224 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.403e-05/7.105, allocations: 36.47 kB / 3.224 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/7.105, allocations: 5.812 kB / 3.224 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/7.105, allocations: 5.141 kB / 3.224 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/7.105, allocations: 3.75 kB / 3.224 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005615/7.106, allocations: 395.8 kB / 3.224 GB, free: 231 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/7.106, allocations: 1.312 kB / 3.224 GB, free: 231 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/7.106, allocations: 42.77 kB / 3.224 GB, free: 231 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002256/7.106, allocations: 41.69 kB / 3.224 GB, free: 231 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/7.106, allocations: 5.188 kB / 3.224 GB, free: 231 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/7.107, allocations: 1.42 MB / 3.226 GB, free: 229.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/7.107, allocations: 4.453 kB / 3.226 GB, free: 229.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006939/7.108, allocations: 408.9 kB / 3.226 GB, free: 229.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/7.108, allocations: 131.7 kB / 3.226 GB, free: 229.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-05/7.108, allocations: 9.516 kB / 3.226 GB, free: 229.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000309/7.109, allocations: 10.38 kB / 3.226 GB, free: 229.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/7.109, allocations: 17.06 kB / 3.226 GB, free: 229.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/7.109, allocations: 6.875 kB / 3.226 GB, free: 229.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002724/7.109, allocations: 211.8 kB / 3.226 GB, free: 229.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.31e-07/7.109, allocations: 0 / 3.226 GB, free: 229.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007814/7.11, allocations: 153.8 kB / 3.227 GB, free: 229.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 () * 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.002106/7.112, allocations: 1.557 MB / 3.228 GB, free: 228.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003777/7.112, allocations: 158.8 kB / 3.228 GB, free: 228.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/7.112, allocations: 4.109 kB / 3.228 GB, free: 228.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003543/7.113, allocations: 204.5 kB / 3.228 GB, free: 228.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009583/7.114, allocations: 178.4 kB / 3.229 GB, free: 228.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003545/7.117, allocations: 2.889 MB / 3.231 GB, free: 226.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/7.118, allocations: 0.7992 MB / 3.232 GB, free: 226.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003711/7.118, allocations: 57.16 kB / 3.232 GB, free: 226.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/7.118, allocations: 103.7 kB / 3.232 GB, free: 226.2 MB / 0.948 GB Notification: Performance of SimCode: time 4.21e-07/7.118, allocations: 3.25 kB / 3.232 GB, free: 226.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0479/7.166, allocations: 20.21 MB / 3.252 GB, free: 225.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001672/7.166, allocations: 195.6 kB / 3.252 GB, free: 225.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.933/10.1, allocations: 0 / 3.252 GB, free: 225.1 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)