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.296/2.296, allocations: 248.7 MB / 256.2 MB, free: 7.094 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.001865/0.001864, allocations: 186.2 kB / 315.4 MB, free: 3.992 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.267/2.267, allocations: 205.3 MB / 0.5662 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 86.53 kB / 0.6704 GB, free: 5.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.429e-05/2.449e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2091, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.272/1.481, allocations: 370.1 MB / 1.246 GB, free: 0.8789 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/1.481, allocations: 66.72 kB / 1.246 GB, free: 0.8477 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.04025/1.521, allocations: 11.62 MB / 1.257 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.824e-06/1.522, allocations: 0 / 1.257 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.014e-05/1.522, allocations: 0 / 1.257 GB, free: 7.914 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.000402/1.522, allocations: 341.4 kB / 1.257 GB, free: 7.539 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/1.522, allocations: 8.031 kB / 1.257 GB, free: 7.531 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/1.522, allocations: 7.953 kB / 1.257 GB, free: 7.523 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/1.522, allocations: 159.1 kB / 1.257 GB, free: 7.328 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.697e-05/1.522, allocations: 33.64 kB / 1.257 GB, free: 7.289 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/1.522, allocations: 4 kB / 1.257 GB, free: 7.285 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.828e-05/1.522, allocations: 15.05 kB / 1.257 GB, free: 7.273 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.604e-05/1.523, allocations: 33.69 kB / 1.258 GB, free: 7.234 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/1.523, allocations: 3.938 kB / 1.258 GB, free: 7.23 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/1.523, allocations: 4 kB / 1.258 GB, free: 7.227 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/1.523, allocations: 0 / 1.258 GB, free: 7.227 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004825/1.523, allocations: 305.5 kB / 1.258 GB, free: 6.879 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.281e-05/1.523, allocations: 26.61 kB / 1.258 GB, free: 6.844 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.926e-05/1.523, allocations: 8.109 kB / 1.258 GB, free: 6.836 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/1.523, allocations: 81.17 kB / 1.258 GB, free: 6.738 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/1.523, allocations: 30.56 kB / 1.258 GB, free: 6.699 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.773e-06/1.523, allocations: 4 kB / 1.258 GB, free: 6.695 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001903/1.524, allocations: 37.62 kB / 1.258 GB, free: 6.652 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/1.524, allocations: 55.44 kB / 1.258 GB, free: 6.586 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.935e-05/1.524, allocations: 100.5 kB / 1.258 GB, free: 6.484 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/1.524, allocations: 25.7 kB / 1.258 GB, free: 6.453 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.842e-05/1.524, allocations: 84.14 kB / 1.258 GB, free: 6.367 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.569e-06/1.524, allocations: 7.281 kB / 1.258 GB, free: 6.363 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-06/1.524, allocations: 0 / 1.258 GB, free: 6.363 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001391/1.524, allocations: 314.8 kB / 1.259 GB, free: 6.047 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.748e-05/1.524, allocations: 4 kB / 1.259 GB, free: 6.043 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.166e-05/1.524, allocations: 24.94 kB / 1.259 GB, free: 6.016 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.046e-05/1.524, allocations: 4 kB / 1.259 GB, free: 6.012 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.524, allocations: 0 / 1.259 GB, free: 6.012 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001478/1.524, allocations: 49.62 kB / 1.259 GB, free: 5.957 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/1.524, allocations: 4 kB / 1.259 GB, free: 5.953 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/1.524, allocations: 3.984 kB / 1.259 GB, free: 5.949 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/1.524, allocations: 0 / 1.259 GB, free: 5.949 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.501e-05/1.525, allocations: 8 kB / 1.259 GB, free: 5.941 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/1.525, allocations: 4.062 kB / 1.259 GB, free: 5.938 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.025e-05/1.525, allocations: 3.938 kB / 1.259 GB, free: 5.934 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/1.525, allocations: 3.953 kB / 1.259 GB, free: 5.93 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 9.333e-05/1.525, allocations: 114.4 kB / 1.259 GB, free: 5.816 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001049/1.525, allocations: 37.62 kB / 1.259 GB, free: 5.773 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/1.525, allocations: 7.906 kB / 1.259 GB, free: 5.766 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001497/1.525, allocations: 121.5 kB / 1.259 GB, free: 5.641 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.418e-05/1.525, allocations: 180.3 kB / 1.259 GB, free: 5.457 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.392e-05/1.525, allocations: 192.1 kB / 1.259 GB, free: 5.262 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.364e-05/1.525, allocations: 180 kB / 1.259 GB, free: 5.082 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/1.526, allocations: 381.8 kB / 1.26 GB, free: 4.664 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.346e-05/1.526, allocations: 104.9 kB / 1.26 GB, free: 4.555 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.07e-05/1.526, allocations: 109 kB / 1.26 GB, free: 4.441 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-05/1.526, allocations: 180.3 kB / 1.26 GB, free: 4.258 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.374e-05/1.526, allocations: 183.3 kB / 1.26 GB, free: 4.074 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.618e-05/1.526, allocations: 181.1 kB / 1.261 GB, free: 3.891 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.136e-05/1.526, allocations: 176.3 kB / 1.261 GB, free: 3.711 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/1.526, allocations: 310.8 kB / 1.261 GB, free: 3.387 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/1.526, allocations: 186.1 kB / 1.261 GB, free: 3.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/1.527, allocations: 180.2 kB / 1.261 GB, free: 2.996 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/1.527, allocations: 105 kB / 1.261 GB, free: 2.887 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.608e-05/1.527, allocations: 180.2 kB / 1.262 GB, free: 2.703 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.317e-05/1.527, allocations: 116.5 kB / 1.262 GB, free: 2.586 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.908e-05/1.527, allocations: 79.28 kB / 1.262 GB, free: 2.508 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.61e-07/1.527, allocations: 0 / 1.262 GB, free: 2.508 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003489/1.527, allocations: 12 kB / 1.262 GB, free: 2.496 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.0006238/1.528, allocations: 0.8367 MB / 1.263 GB, free: 1.637 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.007e-05/1.528, allocations: 15.19 kB / 1.263 GB, free: 1.625 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.528, allocations: 0 / 1.263 GB, free: 1.625 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.475e-06/1.528, allocations: 4.125 kB / 1.263 GB, free: 1.621 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/1.529, allocations: 0.5283 MB / 1.263 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004076/1.529, allocations: 160.9 kB / 1.263 GB, free: 0.8984 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/1.529, allocations: 0.6729 MB / 1.264 GB, free: 204 kB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.701e-05/1.53, allocations: 15.92 kB / 1.264 GB, free: 188 kB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.42e-05/1.53, allocations: 11.44 kB / 1.264 GB, free: 176 kB / 0.8698 GB Notification: Performance of SimCode: time 1.283e-06/1.53, allocations: 0 / 1.264 GB, free: 176 kB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6177/2.147, allocations: 1.081 MB / 1.265 GB, free: 327.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000258/2.148, allocations: 161.7 kB / 1.265 GB, free: 326.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.306/4.454, allocations: 0 / 1.265 GB, free: 326.9 MB / 0.8698 GB