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.131/2.131, allocations: 251 MB / 265.9 MB, free: 11.71 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.001524/0.001524, allocations: 178.6 kB / 325.5 MB, free: 2.918 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.757/2.757, allocations: 205.4 MB / 0.5764 GB, free: 21.21 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.001258/0.001257, allocations: 95.61 kB / 0.6809 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006582/0.0006582, allocations: 9.125 kB / 0.795 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2339, allocations: 106.3 MB / 0.8988 GB, free: 66 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.196/1.43, allocations: 369.9 MB / 1.26 GB, free: 5.031 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/1.43, allocations: 76.91 kB / 1.26 GB, free: 4.992 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.04257/1.473, allocations: 11.72 MB / 1.272 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.475e-06/1.473, allocations: 0 / 1.272 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.244e-06/1.473, allocations: 0 / 1.272 GB, free: 11.89 MB / 0.7761 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.0004368/1.473, allocations: 346.1 kB / 1.272 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/1.474, allocations: 12.03 kB / 1.272 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.587e-05/1.474, allocations: 34.38 kB / 1.272 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.093e-05/1.474, allocations: 7.953 kB / 1.272 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/1.474, allocations: 171 kB / 1.272 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-05/1.474, allocations: 33.64 kB / 1.272 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/1.474, allocations: 0 / 1.272 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/1.474, allocations: 41.38 kB / 1.272 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/1.474, allocations: 0 / 1.272 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/1.474, allocations: 0 / 1.272 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/1.474, allocations: 4 kB / 1.272 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.199e-05/1.474, allocations: 15.94 kB / 1.272 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005249/1.475, allocations: 328.2 kB / 1.273 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.207e-05/1.475, allocations: 26.52 kB / 1.273 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/1.475, allocations: 81.17 kB / 1.273 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/1.475, allocations: 30.56 kB / 1.273 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 1.653e-06/1.475, allocations: 0 / 1.273 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001751/1.475, allocations: 45.08 kB / 1.273 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/1.475, allocations: 51.41 kB / 1.273 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.754e-05/1.475, allocations: 101 kB / 1.273 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/1.475, allocations: 29.64 kB / 1.273 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.11e-05/1.476, allocations: 86.64 kB / 1.273 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.066e-05/1.476, allocations: 3.906 kB / 1.273 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/1.476, allocations: 0 / 1.273 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000141/1.476, allocations: 314.3 kB / 1.273 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.104e-05/1.476, allocations: 4 kB / 1.273 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.025e-05/1.476, allocations: 17.7 kB / 1.273 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.328e-05/1.476, allocations: 11.5 kB / 1.273 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.476, allocations: 7.875 kB / 1.273 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001163/1.476, allocations: 49.19 kB / 1.273 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.476, allocations: 4 kB / 1.273 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/1.476, allocations: 0 / 1.273 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/1.476, allocations: 4 kB / 1.273 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.533e-05/1.476, allocations: 4 kB / 1.273 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/1.476, allocations: 3.953 kB / 1.273 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.277e-05/1.476, allocations: 8 kB / 1.273 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/1.476, allocations: 4 kB / 1.273 GB, free: 9.82 MB / 0.7761 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 () * Number of clocked 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 0.0001227/1.476, allocations: 109.8 kB / 1.273 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/1.476, allocations: 4 kB / 1.273 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/1.477, allocations: 122.3 kB / 1.274 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.423e-05/1.477, allocations: 180.5 kB / 1.274 GB, free: 9.395 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.388e-05/1.477, allocations: 184.2 kB / 1.274 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.921e-05/1.477, allocations: 188.1 kB / 1.274 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003205/1.477, allocations: 405.2 kB / 1.274 GB, free: 8.566 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.455e-05/1.477, allocations: 104.9 kB / 1.275 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.959e-05/1.477, allocations: 105 kB / 1.275 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.318e-05/1.477, allocations: 188.1 kB / 1.275 GB, free: 8.16 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.103e-05/1.478, allocations: 180.2 kB / 1.275 GB, free: 7.977 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.778e-05/1.478, allocations: 180.2 kB / 1.275 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.67e-05/1.478, allocations: 180.2 kB / 1.275 GB, free: 7.609 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/1.478, allocations: 315.5 kB / 1.276 GB, free: 7.281 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/1.478, allocations: 182.1 kB / 1.276 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/1.478, allocations: 176.3 kB / 1.276 GB, free: 6.898 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/1.478, allocations: 108.9 kB / 1.276 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.299e-05/1.479, allocations: 191.8 kB / 1.276 GB, free: 6.594 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.734e-05/1.479, allocations: 106.2 kB / 1.276 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.404e-05/1.479, allocations: 83.28 kB / 1.277 GB, free: 6.402 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.51e-07/1.479, allocations: 0 / 1.277 GB, free: 6.402 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003378/1.479, allocations: 15.81 kB / 1.277 GB, free: 6.391 MB / 0.7761 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 () * Number of clocked 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.000643/1.48, allocations: 0.836 MB / 1.277 GB, free: 5.531 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001044/1.48, allocations: 15.92 kB / 1.277 GB, free: 5.516 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.48, allocations: 0 / 1.277 GB, free: 5.516 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.745e-06/1.48, allocations: 3.938 kB / 1.277 GB, free: 5.512 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/1.48, allocations: 0.528 MB / 1.278 GB, free: 4.984 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004977/1.481, allocations: 221.9 kB / 1.278 GB, free: 4.723 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/1.481, allocations: 0.677 MB / 1.279 GB, free: 4.02 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.819e-05/1.481, allocations: 11.94 kB / 1.279 GB, free: 4.008 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.475e-05/1.481, allocations: 19.17 kB / 1.279 GB, free: 3.992 MB / 0.7761 GB Notification: Performance of SimCode: time 3.166e-06/1.481, allocations: 0 / 1.279 GB, free: 3.992 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02049/1.502, allocations: 1.552 MB / 1.28 GB, free: 2.582 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000346/1.502, allocations: 188.8 kB / 1.28 GB, free: 2.344 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.308/3.81, allocations: 2.953 kB / 1.28 GB, free: 2.344 MB / 0.7761 GB