Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.309/2.309, allocations: 248.7 MB / 256.2 MB, free: 7.008 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001607/0.001607, allocations: 179.4 kB / 315.4 MB, free: 4.02 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.984/1.984, allocations: 205.3 MB / 0.5662 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001141/0.00114, allocations: 96.83 kB / 0.6704 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.637e-05/1.646e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2066, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.025/7.231, allocations: 2.187 GB / 3.071 GB, free: 166 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/7.232, allocations: 84.2 kB / 3.071 GB, free: 166 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5237/7.756, allocations: 160 MB / 3.227 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.793e-06/7.756, allocations: 0 / 3.227 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.924e-05/7.756, allocations: 12 kB / 3.227 GB, free: 10.52 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001115/7.757, allocations: 0.6151 MB / 3.228 GB, free: 9.859 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/7.757, allocations: 16.02 kB / 3.228 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/7.758, allocations: 131.4 kB / 3.228 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009624/7.759, allocations: 410.6 kB / 3.228 GB, free: 9.27 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/7.759, allocations: 8 kB / 3.228 GB, free: 9.262 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.295e-05/7.759, allocations: 19.91 kB / 3.228 GB, free: 9.242 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005015/7.76, allocations: 177.1 kB / 3.229 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005282/7.76, allocations: 238.6 kB / 3.229 GB, free: 8.824 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/7.76, allocations: 3.984 kB / 3.229 GB, free: 8.82 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.808e-05/7.76, allocations: 0 / 3.229 GB, free: 8.82 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.788e-05/7.761, allocations: 16.55 kB / 3.229 GB, free: 8.805 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002156/7.763, allocations: 1.238 MB / 3.23 GB, free: 7.441 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005642/7.763, allocations: 187 kB / 3.23 GB, free: 7.25 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/7.763, allocations: 72.8 kB / 3.23 GB, free: 7.176 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/7.764, allocations: 0 / 3.23 GB, free: 7.176 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/7.764, allocations: 42.55 kB / 3.23 GB, free: 7.125 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 1.993e-06/7.764, allocations: 0 / 3.23 GB, free: 7.125 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.0007772/7.764, allocations: 216.6 kB / 3.23 GB, free: 6.906 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/7.764, allocations: 59.36 kB / 3.231 GB, free: 6.836 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000338/7.765, allocations: 253.1 kB / 3.231 GB, free: 6.582 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/7.765, allocations: 25.7 kB / 3.231 GB, free: 6.551 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/7.765, allocations: 192.1 kB / 3.231 GB, free: 6.359 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.306e-05/7.765, allocations: 74.94 kB / 3.231 GB, free: 6.285 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.383e-05/7.765, allocations: 0 / 3.231 GB, free: 6.285 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.908e-05/7.765, allocations: 338.8 kB / 3.231 GB, free: 5.945 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/7.765, allocations: 55.94 kB / 3.231 GB, free: 5.891 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/7.765, allocations: 106.8 kB / 3.232 GB, free: 5.762 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/7.766, allocations: 76 kB / 3.232 GB, free: 5.688 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/7.766, allocations: 0 / 3.232 GB, free: 5.688 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000442/7.766, allocations: 223.8 kB / 3.232 GB, free: 5.465 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/7.766, allocations: 8 kB / 3.232 GB, free: 5.457 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/7.766, allocations: 0 / 3.232 GB, free: 5.457 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/7.766, allocations: 8.188 kB / 3.232 GB, free: 5.449 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/7.766, allocations: 47.92 kB / 3.232 GB, free: 5.402 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/7.767, allocations: 7.953 kB / 3.232 GB, free: 5.395 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005312/7.767, allocations: 11.84 kB / 3.232 GB, free: 5.383 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/7.767, allocations: 8 kB / 3.232 GB, free: 5.375 MB / 0.8698 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.000102/7.767, allocations: 112.9 kB / 3.232 GB, free: 5.258 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005612/7.768, allocations: 206 kB / 3.232 GB, free: 5.047 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.447e-05/7.768, allocations: 27.72 kB / 3.232 GB, free: 5.02 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/7.768, allocations: 38.09 kB / 3.232 GB, free: 4.98 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/7.768, allocations: 4 kB / 3.232 GB, free: 4.977 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/7.768, allocations: 0 / 3.232 GB, free: 4.977 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/7.768, allocations: 0 / 3.232 GB, free: 4.977 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006494/7.769, allocations: 365.8 kB / 3.233 GB, free: 4.582 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/7.769, allocations: 4 kB / 3.233 GB, free: 4.578 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003322/7.769, allocations: 31.98 kB / 3.233 GB, free: 4.547 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002759/7.769, allocations: 48.77 kB / 3.233 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/7.769, allocations: 4 kB / 3.233 GB, free: 4.492 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001259/7.771, allocations: 1.366 MB / 3.234 GB, free: 3.008 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.79e-06/7.771, allocations: 3.953 kB / 3.234 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007266/7.771, allocations: 387.1 kB / 3.234 GB, free: 2.609 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/7.772, allocations: 132.9 kB / 3.235 GB, free: 2.461 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.636e-05/7.772, allocations: 7.938 kB / 3.235 GB, free: 2.453 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004773/7.772, allocations: 15.97 kB / 3.235 GB, free: 2.438 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/7.772, allocations: 11.97 kB / 3.235 GB, free: 2.426 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/7.772, allocations: 8 kB / 3.235 GB, free: 2.418 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002611/7.773, allocations: 192.6 kB / 3.235 GB, free: 2.23 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.01e-07/7.773, allocations: 0 / 3.235 GB, free: 2.23 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007809/7.773, allocations: 147.8 kB / 3.235 GB, free: 2.086 MB / 0.8698 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.002003/7.775, allocations: 1.624 MB / 3.236 GB, free: 452 kB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004522/7.776, allocations: 143.9 kB / 3.237 GB, free: 308 kB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/7.776, allocations: 384 / 3.237 GB, free: 308 kB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003729/7.776, allocations: 189.7 kB / 3.237 GB, free: 108 kB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.5948/8.371, allocations: 177.9 kB / 3.237 GB, free: 262.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002329/8.374, allocations: 0.6243 MB / 3.238 GB, free: 262.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/8.374, allocations: 0.8043 MB / 3.238 GB, free: 261.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005948/8.375, allocations: 57.86 kB / 3.238 GB, free: 261.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/8.375, allocations: 107.2 kB / 3.239 GB, free: 261.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.223e-06/8.375, allocations: 1.219 kB / 3.239 GB, free: 261.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07676/8.452, allocations: 13.63 MB / 3.252 GB, free: 261.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002642/8.452, allocations: 141.5 kB / 3.252 GB, free: 261.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.041/11.49, allocations: 1.375 kB / 3.252 GB, free: 261.3 MB / 0.8698 GB