Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_7_0_0_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",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.314/2.314, allocations: 248.5 MB / 261 MB, free: 6 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.001556/0.001556, allocations: 182.7 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.011/2.011, allocations: 205.2 MB / 0.571 GB, free: 11.77 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.001067/0.001067, allocations: 101.5 kB / 0.6754 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.685e-05/4.696e-05, allocations: 0 / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2318, allocations: 106.2 MB / 0.8907 GB, free: 7.484 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.293/1.524, allocations: 369.9 MB / 1.252 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/1.525, allocations: 72.14 kB / 1.252 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.04493/1.57, allocations: 11.67 MB / 1.263 GB, free: 2.746 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.583e-06/1.57, allocations: 0 / 1.263 GB, free: 2.746 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.584e-06/1.57, allocations: 4 kB / 1.263 GB, free: 2.742 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004206/1.57, allocations: 337.2 kB / 1.264 GB, free: 2.371 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/1.57, allocations: 11.97 kB / 1.264 GB, free: 2.359 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.305e-05/1.57, allocations: 34.56 kB / 1.264 GB, free: 2.316 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/1.57, allocations: 3.953 kB / 1.264 GB, free: 2.312 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/1.571, allocations: 167 kB / 1.264 GB, free: 2.109 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.75e-05/1.571, allocations: 29.7 kB / 1.264 GB, free: 2.074 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.308e-06/1.571, allocations: 0 / 1.264 GB, free: 2.074 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/1.571, allocations: 49.67 kB / 1.264 GB, free: 2.02 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/1.571, allocations: 0 / 1.264 GB, free: 2.02 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/1.571, allocations: 0 / 1.264 GB, free: 2.02 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/1.571, allocations: 0 / 1.264 GB, free: 2.02 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.631e-05/1.571, allocations: 23.88 kB / 1.264 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005129/1.572, allocations: 326.1 kB / 1.264 GB, free: 1.609 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.159e-05/1.572, allocations: 14.58 kB / 1.264 GB, free: 1.586 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.398e-05/1.572, allocations: 12.92 kB / 1.264 GB, free: 1.57 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/1.572, allocations: 85.09 kB / 1.264 GB, free: 1.469 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/1.572, allocations: 30.56 kB / 1.264 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.623e-06/1.572, allocations: 0 / 1.264 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001538/1.572, allocations: 41.59 kB / 1.264 GB, free: 1.383 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/1.572, allocations: 55.41 kB / 1.264 GB, free: 1.316 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/1.572, allocations: 100.8 kB / 1.265 GB, free: 1.211 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/1.572, allocations: 29.73 kB / 1.265 GB, free: 1.176 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/1.572, allocations: 88.14 kB / 1.265 GB, free: 1.086 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.057e-06/1.572, allocations: 3.906 kB / 1.265 GB, free: 1.082 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/1.572, allocations: 0 / 1.265 GB, free: 1.082 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001369/1.572, allocations: 310.8 kB / 1.265 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.082e-05/1.572, allocations: 4 kB / 1.265 GB, free: 0.7656 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.207e-05/1.573, allocations: 21.89 kB / 1.265 GB, free: 0.7383 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.975e-05/1.573, allocations: 8 kB / 1.265 GB, free: 0.7305 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/1.573, allocations: 0 / 1.265 GB, free: 0.7305 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001069/1.573, allocations: 45.62 kB / 1.265 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/1.573, allocations: 8 kB / 1.265 GB, free: 0.6719 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/1.573, allocations: 0 / 1.265 GB, free: 0.6719 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/1.573, allocations: 96 / 1.265 GB, free: 0.6719 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.428e-05/1.573, allocations: 11.95 kB / 1.265 GB, free: 0.6602 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/1.573, allocations: 0 / 1.265 GB, free: 0.6602 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.629e-05/1.573, allocations: 11.92 kB / 1.265 GB, free: 0.6484 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/1.573, allocations: 8.062 kB / 1.265 GB, free: 0.6406 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 8.581e-05/1.573, allocations: 101 kB / 1.265 GB, free: 0.5352 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/1.573, allocations: 7.984 kB / 1.265 GB, free: 0.5273 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001608/1.573, allocations: 124.8 kB / 1.265 GB, free: 408 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.065e-05/1.573, allocations: 180.3 kB / 1.266 GB, free: 220 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.214e-05/1.573, allocations: 188.2 kB / 1.266 GB, free: 24 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.6017/2.175, allocations: 180.5 kB / 1.266 GB, free: 324.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/2.175, allocations: 404 kB / 1.266 GB, free: 324.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-05/2.175, allocations: 102.8 kB / 1.266 GB, free: 324 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.375e-05/2.176, allocations: 104.1 kB / 1.266 GB, free: 323.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.952e-05/2.176, allocations: 180.4 kB / 1.267 GB, free: 323.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/2.176, allocations: 182.5 kB / 1.267 GB, free: 323.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.741e-05/2.176, allocations: 183.4 kB / 1.267 GB, free: 323.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.489e-05/2.176, allocations: 178.3 kB / 1.267 GB, free: 323.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/2.176, allocations: 312.9 kB / 1.267 GB, free: 322.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.202e-05/2.176, allocations: 182.5 kB / 1.268 GB, free: 322.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.923e-05/2.176, allocations: 183.8 kB / 1.268 GB, free: 322.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/2.176, allocations: 109.7 kB / 1.268 GB, free: 322.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/2.176, allocations: 181.6 kB / 1.268 GB, free: 322.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/2.176, allocations: 105.3 kB / 1.268 GB, free: 322.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.63e-05/2.176, allocations: 82.69 kB / 1.268 GB, free: 322 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.01e-07/2.176, allocations: 3.844 kB / 1.268 GB, free: 322 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003322/2.177, allocations: 13.8 kB / 1.268 GB, free: 322 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0004733/2.177, allocations: 0.8413 MB / 1.269 GB, free: 321.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.601e-05/2.177, allocations: 11.16 kB / 1.269 GB, free: 321.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/2.177, allocations: 0.5 kB / 1.269 GB, free: 321.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.34e-06/2.177, allocations: 3.5 kB / 1.269 GB, free: 321.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/2.178, allocations: 0.5251 MB / 1.27 GB, free: 320.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003842/2.178, allocations: 163.9 kB / 1.27 GB, free: 320.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/2.178, allocations: 0.6766 MB / 1.27 GB, free: 319.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.52e-05/2.178, allocations: 8.984 kB / 1.27 GB, free: 319.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.541e-05/2.178, allocations: 11.72 kB / 1.27 GB, free: 319.8 MB / 0.8698 GB Notification: Performance of SimCode: time 2.214e-06/2.178, allocations: 0 / 1.27 GB, free: 319.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02066/2.199, allocations: 1.604 MB / 1.272 GB, free: 319.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002725/2.199, allocations: 164.8 kB / 1.272 GB, free: 319.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.474/4.673, allocations: 1 kB / 1.272 GB, free: 319.4 MB / 0.8698 GB