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.155/2.155, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002223/0.002222, allocations: 182.4 kB / 325.5 MB, free: 2.902 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.288/2.288, allocations: 205.4 MB / 0.5764 GB, free: 20.83 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.001155/0.001155, allocations: 87.38 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000479/0.000479, allocations: 13.69 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2209, allocations: 106.3 MB / 0.8988 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.064/7.285, allocations: 2.187 GB / 3.085 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/7.285, allocations: 86.48 kB / 3.085 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.5233/7.809, allocations: 162.1 MB / 3.244 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.946e-06/7.809, allocations: 0 / 3.244 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.004e-05/7.809, allocations: 15.92 kB / 3.244 GB, free: 138.1 MB / 0.8855 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.001419/7.81, allocations: 0.6854 MB / 3.244 GB, free: 137.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/7.81, allocations: 8.031 kB / 3.244 GB, free: 137.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.362e-05/7.811, allocations: 62.55 kB / 3.244 GB, free: 137.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001411/7.812, allocations: 143.4 kB / 3.245 GB, free: 137.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/7.813, allocations: 410.5 kB / 3.245 GB, free: 136.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/7.813, allocations: 20.5 kB / 3.245 GB, free: 136.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-05/7.813, allocations: 28 kB / 3.245 GB, free: 136.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006577/7.814, allocations: 275.7 kB / 3.245 GB, free: 136.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/7.814, allocations: 3.984 kB / 3.245 GB, free: 136.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.49e-05/7.814, allocations: 16 kB / 3.245 GB, free: 136.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.661e-05/7.814, allocations: 8.562 kB / 3.245 GB, free: 136.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004887/7.814, allocations: 202 kB / 3.246 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002469/7.817, allocations: 1.305 MB / 3.247 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006568/7.818, allocations: 188.8 kB / 3.247 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/7.818, allocations: 11.98 kB / 3.247 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/7.818, allocations: 34.56 kB / 3.247 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 3.236e-06/7.818, allocations: 0 / 3.247 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.001545/7.819, allocations: 401.4 kB / 3.247 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/7.819, allocations: 55.41 kB / 3.247 GB, free: 134 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004635/7.82, allocations: 271.7 kB / 3.248 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.067e-05/7.82, allocations: 29.7 kB / 3.248 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/7.82, allocations: 196.3 kB / 3.248 GB, free: 133.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.218e-05/7.82, allocations: 71 kB / 3.248 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.802e-05/7.82, allocations: 0 / 3.248 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.877e-05/7.82, allocations: 342.8 kB / 3.248 GB, free: 133.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/7.82, allocations: 55.98 kB / 3.248 GB, free: 133 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/7.821, allocations: 122.8 kB / 3.249 GB, free: 132.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/7.821, allocations: 83.92 kB / 3.249 GB, free: 132.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/7.821, allocations: 0 / 3.249 GB, free: 132.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000595/7.822, allocations: 240.5 kB / 3.249 GB, free: 132.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/7.822, allocations: 7.953 kB / 3.249 GB, free: 132.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/7.822, allocations: 7.984 kB / 3.249 GB, free: 132.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.367e-05/7.822, allocations: 4 kB / 3.249 GB, free: 132.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/7.822, allocations: 47.92 kB / 3.249 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/7.822, allocations: 0 / 3.249 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006119/7.823, allocations: 27.94 kB / 3.249 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/7.823, allocations: 11.98 kB / 3.249 GB, free: 132.5 MB / 0.8855 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.000314/7.823, allocations: 169.7 kB / 3.249 GB, free: 132.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/7.823, allocations: 27.72 kB / 3.249 GB, free: 132.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/7.823, allocations: 39.03 kB / 3.249 GB, free: 132.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/7.823, allocations: 0 / 3.249 GB, free: 132.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/7.823, allocations: 0 / 3.249 GB, free: 132.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/7.823, allocations: 0 / 3.249 GB, free: 132.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007899/7.824, allocations: 409.3 kB / 3.25 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/7.824, allocations: 4 kB / 3.25 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/7.825, allocations: 39.92 kB / 3.25 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003229/7.825, allocations: 40.77 kB / 3.25 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/7.825, allocations: 8 kB / 3.25 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/7.826, allocations: 1.425 MB / 3.251 GB, free: 130.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/7.826, allocations: 3.984 kB / 3.251 GB, free: 130.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008832/7.827, allocations: 408.3 kB / 3.251 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/7.827, allocations: 128.7 kB / 3.252 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.456e-05/7.828, allocations: 11.94 kB / 3.252 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000477/7.828, allocations: 15.98 kB / 3.252 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/7.828, allocations: 7.984 kB / 3.252 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/7.828, allocations: 8 kB / 3.252 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003096/7.828, allocations: 219 kB / 3.252 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.81e-07/7.828, allocations: 4 kB / 3.252 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008135/7.829, allocations: 159.8 kB / 3.252 GB, free: 129.1 MB / 0.8855 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.002025/7.831, allocations: 1.54 MB / 3.253 GB, free: 127.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004539/7.832, allocations: 155.8 kB / 3.254 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/7.832, allocations: 4 kB / 3.254 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003968/7.832, allocations: 198.5 kB / 3.254 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/7.834, allocations: 181.2 kB / 3.254 GB, free: 127 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003962/7.838, allocations: 2.886 MB / 3.257 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/7.838, allocations: 0.8118 MB / 3.258 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0005354/7.839, allocations: 58.92 kB / 3.258 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/7.839, allocations: 103.4 kB / 3.258 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.183e-06/7.839, allocations: 4 kB / 3.258 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.074/7.913, allocations: 20.36 MB / 3.278 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002828/7.913, allocations: 202 kB / 3.278 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.223/11.14, allocations: 0 / 3.278 GB, free: 102.7 MB / 0.8855 GB