Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.AirProperties.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.Media.Examples.AirProperties,fileNamePrefix="Buildings_7_0_0_Buildings_Media_Examples_AirProperties",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.244/2.244, allocations: 248.5 MB / 261.1 MB, free: 6.047 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.001523/0.001523, allocations: 188.8 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.029/2.029, 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.001439/0.001439, allocations: 100.7 kB / 0.6754 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.686e-05/3.696e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2118, allocations: 106.3 MB / 0.8907 GB, free: 7.477 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.381/7.592, allocations: 2.205 GB / 3.095 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/7.593, allocations: 75.83 kB / 3.095 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1731/7.766, allocations: 50.62 MB / 3.145 GB, free: 83.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.683e-06/7.766, allocations: 0 / 3.145 GB, free: 83.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.759e-05/7.766, allocations: 4 kB / 3.145 GB, free: 83.5 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001288/7.767, allocations: 0.5684 MB / 3.145 GB, free: 82.89 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/7.767, allocations: 12.03 kB / 3.145 GB, free: 82.88 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.274e-05/7.768, allocations: 58.53 kB / 3.145 GB, free: 82.81 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/7.769, allocations: 139.6 kB / 3.146 GB, free: 82.67 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/7.769, allocations: 222.8 kB / 3.146 GB, free: 82.41 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/7.77, allocations: 12.44 kB / 3.146 GB, free: 82.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.815e-05/7.77, allocations: 20 kB / 3.146 GB, free: 82.38 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007536/7.77, allocations: 343.4 kB / 3.146 GB, free: 82.03 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/7.77, allocations: 3.938 kB / 3.146 GB, free: 82.02 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.635e-05/7.77, allocations: 8 kB / 3.146 GB, free: 82.02 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.103e-05/7.77, allocations: 20.36 kB / 3.146 GB, free: 81.99 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007534/7.771, allocations: 316.9 kB / 3.147 GB, free: 81.68 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00208/7.773, allocations: 1.201 MB / 3.148 GB, free: 80.38 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006956/7.774, allocations: 182.5 kB / 3.148 GB, free: 80.19 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/7.774, allocations: 72.83 kB / 3.148 GB, free: 80.11 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000495/7.775, allocations: 360.4 kB / 3.148 GB, free: 79.69 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/7.775, allocations: 34.56 kB / 3.148 GB, free: 79.64 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=20): time 3.336e-06/7.775, allocations: 4 kB / 3.148 GB, free: 79.64 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20): time 0.0006928/7.776, allocations: 185.6 kB / 3.148 GB, free: 79.45 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/7.776, allocations: 55.41 kB / 3.149 GB, free: 79.39 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/7.776, allocations: 198.7 kB / 3.149 GB, free: 79.19 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/7.776, allocations: 29.7 kB / 3.149 GB, free: 79.15 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.056e-05/7.776, allocations: 147.9 kB / 3.149 GB, free: 79 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.664e-05/7.776, allocations: 70.94 kB / 3.149 GB, free: 78.93 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.146e-05/7.776, allocations: 8 kB / 3.149 GB, free: 78.93 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.135e-05/7.776, allocations: 334.8 kB / 3.149 GB, free: 78.59 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/7.776, allocations: 64.25 kB / 3.149 GB, free: 78.53 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/7.777, allocations: 156.5 kB / 3.149 GB, free: 78.33 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/7.777, allocations: 98.89 kB / 3.15 GB, free: 78.24 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/7.777, allocations: 0 / 3.15 GB, free: 78.24 MB / 0.8698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006502/7.778, allocations: 279.4 kB / 3.15 GB, free: 77.96 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/7.778, allocations: 7.062 kB / 3.15 GB, free: 77.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/7.778, allocations: 8 kB / 3.15 GB, free: 77.95 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/7.778, allocations: 4.109 kB / 3.15 GB, free: 77.95 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004839/7.778, allocations: 59.8 kB / 3.15 GB, free: 77.89 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/7.778, allocations: 11.98 kB / 3.15 GB, free: 77.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/7.779, allocations: 31.59 kB / 3.15 GB, free: 77.84 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/7.779, allocations: 19.94 kB / 3.15 GB, free: 77.82 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001123/7.779, allocations: 121.3 kB / 3.15 GB, free: 77.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/7.779, allocations: 23.81 kB / 3.15 GB, free: 77.68 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005747/7.779, allocations: 213.4 kB / 3.15 GB, free: 77.46 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.09e-05/7.779, allocations: 7.953 kB / 3.15 GB, free: 77.45 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/7.779, allocations: 0 / 3.15 GB, free: 77.45 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/7.779, allocations: 0 / 3.15 GB, free: 77.45 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008127/7.78, allocations: 0.5069 MB / 3.151 GB, free: 76.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/7.78, allocations: 0 / 3.151 GB, free: 76.89 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003135/7.781, allocations: 32.02 kB / 3.151 GB, free: 76.86 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/7.781, allocations: 7.938 kB / 3.151 GB, free: 76.85 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/7.781, allocations: 7.984 kB / 3.151 GB, free: 76.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/7.781, allocations: 0 / 3.151 GB, free: 76.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/7.781, allocations: 4 kB / 3.151 GB, free: 76.84 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004736/7.781, allocations: 303.9 kB / 3.151 GB, free: 76.52 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/7.781, allocations: 120.8 kB / 3.151 GB, free: 76.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.333e-05/7.781, allocations: 0 / 3.151 GB, free: 76.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004181/7.782, allocations: 19.98 kB / 3.151 GB, free: 76.36 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/7.782, allocations: 7.984 kB / 3.151 GB, free: 76.35 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-05/7.782, allocations: 15.98 kB / 3.151 GB, free: 76.34 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001682/7.782, allocations: 155.3 kB / 3.151 GB, free: 76.18 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.21e-07/7.782, allocations: 3.938 kB / 3.151 GB, free: 76.18 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007862/7.783, allocations: 151.8 kB / 3.152 GB, free: 76.03 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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: 1 * 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 Backend phase and start with SimCode phase: time 0.001687/7.785, allocations: 1.442 MB / 3.153 GB, free: 74.57 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004811/7.785, allocations: 173.1 kB / 3.153 GB, free: 74.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/7.785, allocations: 4.062 kB / 3.153 GB, free: 74.39 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000169/7.785, allocations: 79.84 kB / 3.153 GB, free: 74.32 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008504/7.786, allocations: 86.48 kB / 3.153 GB, free: 74.23 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/7.787, allocations: 336.6 kB / 3.154 GB, free: 73.87 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/7.787, allocations: 0.7409 MB / 3.154 GB, free: 73.11 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005034/7.788, allocations: 54.03 kB / 3.154 GB, free: 73.05 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/7.788, allocations: 59.36 kB / 3.155 GB, free: 73 MB / 0.8698 GB Notification: Performance of SimCode: time 1.022e-06/7.788, allocations: 0 / 3.155 GB, free: 73 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04515/7.833, allocations: 17.44 MB / 3.172 GB, free: 55.66 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002867/7.834, allocations: 140 kB / 3.172 GB, free: 55.43 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.168/11, allocations: 3.938 kB / 3.172 GB, free: 55.43 MB / 0.8698 GB