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 2.602/2.602, allocations: 287.9 MB / 302.9 MB, free: 8.367 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001403/0.001403, allocations: 179.9 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.145/2.145, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 98.58 kB / 0.7434 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004627/0.0004629, allocations: 9.938 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1587, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.7127/0.8714, allocations: 124.9 MB / 1.101 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.000339/0.8718, allocations: 135.4 kB / 1.101 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.372e-05/0.8719, allocations: 1.375 kB / 1.101 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.872, allocations: 0 / 1.101 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 6.004e-05/0.8721, allocations: 9.172 kB / 1.101 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005799/0.8727, allocations: 75.08 kB / 1.101 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 8.735e-05/0.8728, allocations: 20.12 kB / 1.101 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.536e-05/0.8728, allocations: 3.531 kB / 1.101 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.628e-05/0.8729, allocations: 8.938 kB / 1.101 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.197e-05/0.873, allocations: 11.72 kB / 1.101 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.8731, allocations: 0 / 1.101 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003545/0.8734, allocations: 47.75 kB / 1.101 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 4.658e-05/0.8735, allocations: 9.016 kB / 1.101 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.8737, allocations: 32.39 kB / 1.101 GB, free: 18.64 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.8738, allocations: 29.08 kB / 1.101 GB, free: 18.64 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.871e-06/0.8739, allocations: 7.25 kB / 1.101 GB, free: 18.64 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.862e-06/0.8739, allocations: 0 / 1.101 GB, free: 18.64 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.258e-06/0.8739, allocations: 1.375 kB / 1.101 GB, free: 18.64 MB / 0.698 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.0005403/0.8745, allocations: 329.5 kB / 1.101 GB, free: 18.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.8745, allocations: 14.39 kB / 1.101 GB, free: 18.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004117/0.875, allocations: 22.64 kB / 1.101 GB, free: 18.28 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.8752, allocations: 164.4 kB / 1.102 GB, free: 18.08 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.8753, allocations: 36.48 kB / 1.102 GB, free: 18.05 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.8753, allocations: 1.375 kB / 1.102 GB, free: 18.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.8756, allocations: 46.58 kB / 1.102 GB, free: 18.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.8756, allocations: 1.375 kB / 1.102 GB, free: 18.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.8756, allocations: 0 / 1.102 GB, free: 18.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/0.8757, allocations: 5.328 kB / 1.102 GB, free: 18.01 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.8758, allocations: 24.8 kB / 1.102 GB, free: 18.01 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006231/0.8764, allocations: 260.2 kB / 1.102 GB, free: 17.74 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.934e-05/0.8765, allocations: 15.95 kB / 1.102 GB, free: 17.71 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.607e-06/0.8765, allocations: 0 / 1.102 GB, free: 17.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.8766, allocations: 41.7 kB / 1.102 GB, free: 17.67 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 3.206e-06/0.8766, allocations: 0 / 1.102 GB, free: 17.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0002258/0.8768, allocations: 41.38 kB / 1.102 GB, free: 17.63 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.8769, allocations: 56.81 kB / 1.102 GB, free: 17.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.8771, allocations: 105.5 kB / 1.102 GB, free: 17.47 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.8771, allocations: 27.08 kB / 1.102 GB, free: 17.44 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.655e-05/0.8772, allocations: 95.47 kB / 1.102 GB, free: 17.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.876e-06/0.8772, allocations: 0 / 1.102 GB, free: 17.34 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.756e-06/0.8773, allocations: 1.375 kB / 1.102 GB, free: 17.34 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.8775, allocations: 316 kB / 1.103 GB, free: 17.03 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.937e-05/0.8775, allocations: 4.125 kB / 1.103 GB, free: 17.03 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.567e-05/0.8776, allocations: 26.97 kB / 1.103 GB, free: 17 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.675e-05/0.8776, allocations: 13.3 kB / 1.103 GB, free: 17 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.8776, allocations: 0 / 1.103 GB, free: 17 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002014/0.8779, allocations: 54.12 kB / 1.103 GB, free: 16.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.8779, allocations: 8.078 kB / 1.103 GB, free: 16.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.8779, allocations: 1.469 kB / 1.103 GB, free: 16.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.878, allocations: 5.375 kB / 1.103 GB, free: 16.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.8781, allocations: 7.656 kB / 1.103 GB, free: 16.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.8781, allocations: 1.375 kB / 1.103 GB, free: 16.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.298e-05/0.8782, allocations: 8.469 kB / 1.103 GB, free: 16.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.8783, allocations: 1.375 kB / 1.103 GB, free: 16.95 MB / 0.698 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 0.0001238/0.8784, allocations: 108.6 kB / 1.103 GB, free: 16.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.817e-05/0.8785, allocations: 3.578 kB / 1.103 GB, free: 16.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.8785, allocations: 11.52 kB / 1.103 GB, free: 16.83 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.501e-06/0.8785, allocations: 4 kB / 1.103 GB, free: 16.83 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.657e-06/0.8786, allocations: 1.375 kB / 1.103 GB, free: 16.83 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.476e-06/0.8786, allocations: 0 / 1.103 GB, free: 16.83 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005162/0.8791, allocations: 344.5 kB / 1.103 GB, free: 16.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.833e-06/0.8791, allocations: 1.75 kB / 1.103 GB, free: 16.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.261e-05/0.8792, allocations: 5.328 kB / 1.103 GB, free: 16.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.8792, allocations: 0 / 1.103 GB, free: 16.45 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.89e-06/0.8792, allocations: 2.25 kB / 1.103 GB, free: 16.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.379e-06/0.8793, allocations: 0 / 1.103 GB, free: 16.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.8793, allocations: 4.031 kB / 1.103 GB, free: 16.44 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.8794, allocations: 56.86 kB / 1.103 GB, free: 16.38 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.636e-05/0.8795, allocations: 80.64 kB / 1.103 GB, free: 16.29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/0.8796, allocations: 5.328 kB / 1.103 GB, free: 16.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.8797, allocations: 12.66 kB / 1.103 GB, free: 16.28 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.486e-05/0.8798, allocations: 1.375 kB / 1.103 GB, free: 16.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.977e-06/0.8798, allocations: 8.031 kB / 1.103 GB, free: 16.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.62e-05/0.8799, allocations: 82.94 kB / 1.103 GB, free: 16.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.09e-07/0.8799, allocations: 0 / 1.103 GB, free: 16.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005067/0.8804, allocations: 5.5 kB / 1.103 GB, free: 16.2 MB / 0.698 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 0.0001531/0.8806, allocations: 103.9 kB / 1.104 GB, free: 16.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001056/0.8807, allocations: 12.06 kB / 1.104 GB, free: 16.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.256e-06/0.8808, allocations: 0 / 1.104 GB, free: 16.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.815e-05/0.8808, allocations: 10.81 kB / 1.104 GB, free: 16.09 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.8811, allocations: 6.469 kB / 1.104 GB, free: 16.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.8815, allocations: 129.7 kB / 1.104 GB, free: 15.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.8819, allocations: 0.6784 MB / 1.104 GB, free: 15.29 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001214/0.8821, allocations: 11.88 kB / 1.104 GB, free: 15.28 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.804e-05/0.8821, allocations: 8.594 kB / 1.104 GB, free: 15.27 MB / 0.698 GB Notification: Performance of SimCode: time 1.663e-06/0.8821, allocations: 0 / 1.104 GB, free: 15.27 MB / 0.698 GB Notification: Performance of Templates: time 0.004206/0.8863, allocations: 430.5 kB / 1.105 GB, free: 15.25 MB / 0.698 GB