Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.982/4.982, allocations: 0.5623 GB / 0.5769 GB, free: 3.32 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002412/0.002411, allocations: 352.5 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.954/3.954, allocations: 410.7 MB / 1.112 GB, free: 6.012 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001805/0.001805, allocations: 183.6 kB / 1.225 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000481/0.0004812, allocations: 12.22 kB / 1.348 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6349/0.6354, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1427/0.7782, allocations: 134 MB / 1.592 GB, free: 150.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0002249/0.7784, allocations: 135.7 kB / 1.592 GB, free: 150.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.513e-05/0.7785, allocations: 0 / 1.592 GB, free: 150.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 8.009e-05/0.7786, allocations: 3.984 kB / 1.592 GB, free: 150.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.468e-05/0.7786, allocations: 15.86 kB / 1.592 GB, free: 150.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.7789, allocations: 67.75 kB / 1.592 GB, free: 150.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.877e-05/0.779, allocations: 51.83 kB / 1.592 GB, free: 150.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.01e-05/0.7791, allocations: 0 / 1.592 GB, free: 150.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.458e-05/0.7791, allocations: 8 kB / 1.592 GB, free: 150.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.747e-05/0.7792, allocations: 19.91 kB / 1.592 GB, free: 150.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.7792, allocations: 0 / 1.592 GB, free: 150.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.7794, allocations: 47.78 kB / 1.592 GB, free: 150.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.958e-05/0.7795, allocations: 11.97 kB / 1.592 GB, free: 150.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.95e-05/0.7795, allocations: 29.7 kB / 1.592 GB, free: 150.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 8.669e-05/0.7796, allocations: 26.09 kB / 1.592 GB, free: 150 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.953e-06/0.7796, allocations: 0 / 1.592 GB, free: 150 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.156e-06/0.7796, allocations: 4 kB / 1.592 GB, free: 150 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.367e-06/0.7796, allocations: 0 / 1.592 GB, free: 150 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002814/0.7799, allocations: 331.4 kB / 1.592 GB, free: 149.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.78, allocations: 11.62 kB / 1.592 GB, free: 149.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002475/0.7802, allocations: 19.94 kB / 1.592 GB, free: 149.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.262e-05/0.7803, allocations: 174.9 kB / 1.592 GB, free: 149.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.75e-05/0.7804, allocations: 33.7 kB / 1.592 GB, free: 149.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.619e-06/0.7804, allocations: 0 / 1.592 GB, free: 149.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.7805, allocations: 45.67 kB / 1.593 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.329e-06/0.7806, allocations: 0 / 1.593 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.7806, allocations: 4 kB / 1.593 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.7806, allocations: 7.953 kB / 1.593 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.341e-05/0.7807, allocations: 15.98 kB / 1.593 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.781, allocations: 256.9 kB / 1.593 GB, free: 149 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.527e-05/0.7811, allocations: 22.58 kB / 1.593 GB, free: 149 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.637e-05/0.7811, allocations: 4.859 kB / 1.593 GB, free: 149 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.49e-06/0.7811, allocations: 3.953 kB / 1.593 GB, free: 149 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.477e-05/0.7812, allocations: 34.62 kB / 1.593 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.894e-06/0.7812, allocations: 0 / 1.593 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001261/0.7813, allocations: 37.64 kB / 1.593 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.134e-05/0.7813, allocations: 51.41 kB / 1.593 GB, free: 148.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.371e-05/0.7814, allocations: 109.8 kB / 1.593 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.7814, allocations: 29.7 kB / 1.593 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.22e-05/0.7815, allocations: 99.88 kB / 1.593 GB, free: 148.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.977e-06/0.7815, allocations: 3.938 kB / 1.593 GB, free: 148.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-06/0.7815, allocations: 0 / 1.593 GB, free: 148.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.722e-05/0.7816, allocations: 318.8 kB / 1.593 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.801e-05/0.7816, allocations: 8.125 kB / 1.594 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.782e-05/0.7816, allocations: 18.58 kB / 1.594 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.765e-05/0.7817, allocations: 11.98 kB / 1.594 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.173e-06/0.7817, allocations: 0 / 1.594 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.799e-05/0.7818, allocations: 53.62 kB / 1.594 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.7818, allocations: 11.95 kB / 1.594 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.166e-06/0.7818, allocations: 4.094 kB / 1.594 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.7818, allocations: 0 / 1.594 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.369e-05/0.7819, allocations: 11.94 kB / 1.594 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.886e-06/0.7819, allocations: 0 / 1.594 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.456e-05/0.782, allocations: 3.906 kB / 1.594 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.7821, allocations: 4 kB / 1.594 GB, free: 148.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 7.893e-05/0.7822, allocations: 105.8 kB / 1.594 GB, free: 148 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.044e-05/0.7822, allocations: 8 kB / 1.594 GB, free: 148 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.647e-05/0.7823, allocations: 11.06 kB / 1.594 GB, free: 148 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.952e-06/0.7823, allocations: 4 kB / 1.594 GB, free: 148 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.7823, allocations: 256 / 1.594 GB, free: 148 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.082e-06/0.7823, allocations: 1.688 kB / 1.594 GB, free: 148 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003078/0.7827, allocations: 346.7 kB / 1.594 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.403e-06/0.7827, allocations: 7.953 kB / 1.594 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.592e-05/0.7827, allocations: 0 / 1.594 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.969e-06/0.7828, allocations: 0 / 1.594 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.444e-06/0.7828, allocations: 0 / 1.594 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.6e-06/0.7828, allocations: 4.031 kB / 1.594 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.388e-06/0.7828, allocations: 0 / 1.594 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.129e-05/0.7829, allocations: 61.12 kB / 1.594 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.811e-05/0.7829, allocations: 81.06 kB / 1.594 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.783, allocations: 4 kB / 1.594 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.7831, allocations: 3.984 kB / 1.594 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.7832, allocations: 4 kB / 1.594 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.231e-06/0.7832, allocations: 4.031 kB / 1.594 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.76e-05/0.7832, allocations: 83.28 kB / 1.594 GB, free: 147.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.151e-06/0.7833, allocations: 0 / 1.594 GB, free: 147.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004445/0.7837, allocations: 7.938 kB / 1.594 GB, free: 147.3 MB / 0.8542 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 (1): * Single equations (assignments): 1 * 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 9.174e-05/0.7838, allocations: 107.2 kB / 1.594 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.053e-05/0.7839, allocations: 8 kB / 1.594 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.887e-06/0.7839, allocations: 3.938 kB / 1.594 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.077e-05/0.7839, allocations: 12.19 kB / 1.594 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.7842, allocations: 0 / 1.594 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002126/0.7844, allocations: 120.5 kB / 1.595 GB, free: 147 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.7846, allocations: 0.6809 MB / 1.595 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.405e-05/0.7846, allocations: 12.66 kB / 1.595 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.789e-05/0.7847, allocations: 7.438 kB / 1.595 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.755e-06/0.7847, allocations: 0 / 1.595 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.002652/0.7873, allocations: 437.9 kB / 1.596 GB, free: 145.9 MB / 0.8542 GB