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.416/2.416, allocations: 248.5 MB / 261.1 MB, free: 6.035 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.001539/0.001538, allocations: 186.5 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.935/1.935, allocations: 205.2 MB / 0.571 GB, free: 11.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001238/0.001238, allocations: 94.41 kB / 0.6754 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.074e-05/4.091e-05, allocations: 7.984 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2084, allocations: 106.2 MB / 0.8907 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.4/7.608, allocations: 2.187 GB / 3.077 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003376/7.608, allocations: 83.64 kB / 3.077 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.162/8.77, allocations: 161.9 MB / 3.235 GB, free: 255.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.645e-06/8.77, allocations: 3.125 kB / 3.235 GB, free: 255.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.117e-05/8.77, allocations: 10.81 kB / 3.235 GB, free: 255.7 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.001492/8.772, allocations: 0.6162 MB / 3.236 GB, free: 255.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/8.772, allocations: 9.25 kB / 3.236 GB, free: 255.4 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001168/8.772, allocations: 62.8 kB / 3.236 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/8.774, allocations: 138.5 kB / 3.236 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/8.775, allocations: 409.2 kB / 3.237 GB, free: 255.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/8.775, allocations: 23.25 kB / 3.237 GB, free: 255.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.781e-05/8.775, allocations: 28.66 kB / 3.237 GB, free: 255.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008208/8.776, allocations: 272.2 kB / 3.237 GB, free: 255 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/8.776, allocations: 3.188 kB / 3.237 GB, free: 255 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.948e-05/8.776, allocations: 14.75 kB / 3.237 GB, free: 255 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.564e-05/8.776, allocations: 8.406 kB / 3.237 GB, free: 255 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005871/8.777, allocations: 193 kB / 3.237 GB, free: 255 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003/8.78, allocations: 1.312 MB / 3.238 GB, free: 254.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000707/8.781, allocations: 195 kB / 3.239 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/8.781, allocations: 79.78 kB / 3.239 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.037e-05/8.781, allocations: 3.5 kB / 3.239 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/8.781, allocations: 35.75 kB / 3.239 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 2.915e-06/8.781, allocations: 0 / 3.239 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.001007/8.782, allocations: 229.7 kB / 3.239 GB, free: 254.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/8.782, allocations: 52.75 kB / 3.239 GB, free: 254.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005029/8.783, allocations: 268.3 kB / 3.239 GB, free: 254 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.724e-05/8.783, allocations: 30.14 kB / 3.239 GB, free: 253.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/8.783, allocations: 190.4 kB / 3.239 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/8.783, allocations: 74.36 kB / 3.239 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.701e-05/8.783, allocations: 5.219 kB / 3.239 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.484e-05/8.783, allocations: 340.2 kB / 3.24 GB, free: 253.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/8.783, allocations: 61.25 kB / 3.24 GB, free: 253.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/8.784, allocations: 117.5 kB / 3.24 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002208/8.784, allocations: 79.55 kB / 3.24 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/8.784, allocations: 2.812 kB / 3.24 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006462/8.784, allocations: 235.4 kB / 3.24 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/8.784, allocations: 10.73 kB / 3.24 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/8.785, allocations: 5.078 kB / 3.24 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.901e-05/8.785, allocations: 10.47 kB / 3.24 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003989/8.785, allocations: 44.05 kB / 3.24 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/8.785, allocations: 5.859 kB / 3.24 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006639/8.786, allocations: 21.95 kB / 3.24 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/8.786, allocations: 5.5 kB / 3.24 GB, free: 253.4 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.0001285/8.786, allocations: 115.6 kB / 3.24 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.86e-05/8.786, allocations: 35.75 kB / 3.241 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/8.786, allocations: 42.3 kB / 3.241 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/8.786, allocations: 6.359 kB / 3.241 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/8.786, allocations: 0.6562 kB / 3.241 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/8.786, allocations: 1.125 kB / 3.241 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009078/8.787, allocations: 409.2 kB / 3.241 GB, free: 253 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/8.787, allocations: 0 / 3.241 GB, free: 253 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000372/8.787, allocations: 40.5 kB / 3.241 GB, free: 253 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003157/8.788, allocations: 39.67 kB / 3.241 GB, free: 253 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/8.788, allocations: 5.906 kB / 3.241 GB, free: 253 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001413/8.789, allocations: 1.407 MB / 3.242 GB, free: 251.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/8.789, allocations: 2.25 kB / 3.242 GB, free: 251.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009986/8.79, allocations: 404.3 kB / 3.243 GB, free: 251.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002969/8.791, allocations: 130.5 kB / 3.243 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.719e-05/8.791, allocations: 5.156 kB / 3.243 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005141/8.791, allocations: 21.09 kB / 3.243 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.537e-05/8.791, allocations: 13.06 kB / 3.243 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/8.791, allocations: 6.641 kB / 3.243 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003907/8.792, allocations: 218 kB / 3.243 GB, free: 251.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.11e-07/8.792, allocations: 0 / 3.243 GB, free: 251.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001002/8.793, allocations: 161.9 kB / 3.243 GB, free: 251.4 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.002491/8.795, allocations: 1.541 MB / 3.245 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006097/8.796, allocations: 157.9 kB / 3.245 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/8.796, allocations: 0.7812 kB / 3.245 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004638/8.797, allocations: 195.9 kB / 3.245 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/8.798, allocations: 189.2 kB / 3.245 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/8.801, allocations: 0.6559 MB / 3.246 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/8.801, allocations: 0.8041 MB / 3.247 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006372/8.802, allocations: 62.89 kB / 3.247 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/8.802, allocations: 105.8 kB / 3.247 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.423e-06/8.802, allocations: 0 / 3.247 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07559/8.878, allocations: 22.38 MB / 3.269 GB, free: 248.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002327/8.878, allocations: 176.7 kB / 3.269 GB, free: 248.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.425/12.3, allocations: 3.938 kB / 3.269 GB, free: 248.5 MB / 0.8698 GB