Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002415/0.002415, allocations: 356.8 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.511/1.511, allocations: 165.8 MB / 182.5 MB, free: 5.383 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.022/4.022, allocations: 410.8 MB / 0.5995 GB, free: 15.18 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001687/0.001686, allocations: 191.3 kB / 0.6662 GB, free: 6.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004589/0.0004592, allocations: 16 kB / 0.7423 GB, free: 8.988 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3227, allocations: 67.44 MB / 0.8081 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.539/0.8618, allocations: 134.3 MB / 0.9393 GB, free: 1.777 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002558/0.862, allocations: 147.2 kB / 0.9395 GB, free: 1.773 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.789e-05/0.8621, allocations: 0 / 0.9395 GB, free: 1.773 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 8.289e-05/0.8622, allocations: 6.359 kB / 0.9395 GB, free: 1.773 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 6.437e-05/0.8623, allocations: 8.297 kB / 0.9395 GB, free: 1.773 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005804/0.8629, allocations: 136.7 kB / 0.9396 GB, free: 1.773 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 8.149e-05/0.8629, allocations: 50.83 kB / 0.9397 GB, free: 1.77 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.822e-05/0.863, allocations: 0.9688 kB / 0.9397 GB, free: 1.77 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.957e-05/0.863, allocations: 12.55 kB / 0.9397 GB, free: 1.77 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.577e-05/0.8631, allocations: 16.91 kB / 0.9397 GB, free: 1.77 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.8631, allocations: 0.75 kB / 0.9397 GB, free: 1.77 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003359/0.8635, allocations: 91.86 kB / 0.9398 GB, free: 1.77 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 3.547e-05/0.8635, allocations: 11.12 kB / 0.9398 GB, free: 1.77 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 2.864e-05/0.8636, allocations: 27.48 kB / 0.9398 GB, free: 1.738 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.8637, allocations: 54.69 kB / 0.9399 GB, free: 1.734 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.425e-06/0.8638, allocations: 0 / 0.9399 GB, free: 1.734 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.897e-06/0.8638, allocations: 4 kB / 0.9399 GB, free: 1.73 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.715e-06/0.8638, allocations: 0 / 0.9399 GB, free: 1.73 MB / 474.7 MB 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.0003969/0.8642, allocations: 339.7 kB / 0.9402 GB, free: 1.371 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.8642, allocations: 11.12 kB / 0.9402 GB, free: 1.371 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003607/0.8646, allocations: 26.27 kB / 0.9402 GB, free: 1.371 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.8648, allocations: 164.6 kB / 0.9404 GB, free: 1.172 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.252e-05/0.8649, allocations: 28.53 kB / 0.9404 GB, free: 1.141 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.8649, allocations: 12.14 kB / 0.9404 GB, free: 1.133 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.8651, allocations: 48.39 kB / 0.9405 GB, free: 1.102 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.8651, allocations: 0 / 0.9405 GB, free: 1.102 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.8651, allocations: 1.156 kB / 0.9405 GB, free: 1.102 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.8651, allocations: 7.141 kB / 0.9405 GB, free: 1.098 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.768e-05/0.8652, allocations: 22.31 kB / 0.9405 GB, free: 1.098 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.8657, allocations: 260 kB / 0.9407 GB, free: 16.83 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.053e-05/0.8658, allocations: 26.67 kB / 0.9408 GB, free: 16.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.208e-05/0.8658, allocations: 8.156 kB / 0.9408 GB, free: 16.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001967/0.866, allocations: 94.69 kB / 0.9409 GB, free: 16.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.8661, allocations: 31.78 kB / 0.9409 GB, free: 16.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 2.046e-06/0.8661, allocations: 0 / 0.9409 GB, free: 16.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002658/0.8663, allocations: 52.78 kB / 0.9409 GB, free: 16.63 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.8664, allocations: 55.27 kB / 0.941 GB, free: 16.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.706e-05/0.8665, allocations: 106.1 kB / 0.9411 GB, free: 16.46 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.8665, allocations: 25.7 kB / 0.9411 GB, free: 16.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.8666, allocations: 89.66 kB / 0.9412 GB, free: 16.35 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.937e-06/0.8666, allocations: 8.953 kB / 0.9412 GB, free: 16.34 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-06/0.8666, allocations: 1.188 kB / 0.9412 GB, free: 16.34 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.8668, allocations: 316.3 kB / 0.9415 GB, free: 16.03 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.207e-05/0.8668, allocations: 3.422 kB / 0.9415 GB, free: 16.03 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.247e-05/0.8669, allocations: 24.72 kB / 0.9415 GB, free: 16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.281e-05/0.8669, allocations: 14.5 kB / 0.9416 GB, free: 16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.507e-06/0.8669, allocations: 0.5625 kB / 0.9416 GB, free: 16 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001233/0.8671, allocations: 55.98 kB / 0.9416 GB, free: 15.96 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.8671, allocations: 5.469 kB / 0.9416 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.716e-06/0.8671, allocations: 0.75 kB / 0.9416 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.8671, allocations: 1.469 kB / 0.9416 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.626e-05/0.8672, allocations: 8.234 kB / 0.9416 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.391e-06/0.8672, allocations: 2 kB / 0.9416 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.973e-05/0.8673, allocations: 5.281 kB / 0.9416 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.541e-06/0.8673, allocations: 1.406 kB / 0.9416 GB, free: 15.96 MB / 490.7 MB 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.0001021/0.8674, allocations: 116.2 kB / 0.9417 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.7e-05/0.8675, allocations: 9.469 kB / 0.9418 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.527e-05/0.8675, allocations: 9.5 kB / 0.9418 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.181e-06/0.8675, allocations: 0.6562 kB / 0.9418 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.923e-06/0.8675, allocations: 0 / 0.9418 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.099e-06/0.8675, allocations: 0.6562 kB / 0.9418 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/0.8679, allocations: 360 kB / 0.9421 GB, free: 15.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.593e-06/0.8679, allocations: 1.734 kB / 0.9421 GB, free: 15.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.6e-05/0.868, allocations: 8.016 kB / 0.9421 GB, free: 15.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.148e-06/0.868, allocations: 0.7812 kB / 0.9421 GB, free: 15.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.868, allocations: 0.7188 kB / 0.9421 GB, free: 15.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.868, allocations: 1.328 kB / 0.9421 GB, free: 15.45 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.231e-06/0.868, allocations: 0.9375 kB / 0.9421 GB, free: 15.45 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.919e-05/0.8681, allocations: 78.81 kB / 0.9422 GB, free: 15.37 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.8682, allocations: 87.11 kB / 0.9423 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.8682, allocations: 11.92 kB / 0.9423 GB, free: 15.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.751e-05/0.8684, allocations: 5.156 kB / 0.9423 GB, free: 15.26 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.307e-05/0.8684, allocations: 1.531 kB / 0.9423 GB, free: 15.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.744e-06/0.8684, allocations: 1.562 kB / 0.9423 GB, free: 15.26 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.967e-05/0.8685, allocations: 85.67 kB / 0.9424 GB, free: 15.18 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.95e-07/0.8685, allocations: 0 / 0.9424 GB, free: 15.18 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002602/0.8687, allocations: 6.5 kB / 0.9424 GB, free: 15.18 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001443/0.8689, allocations: 105.5 kB / 0.9425 GB, free: 15.09 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.691e-05/0.869, allocations: 18.27 kB / 0.9425 GB, free: 15.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.878e-06/0.869, allocations: 1 kB / 0.9425 GB, free: 15.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.049e-05/0.869, allocations: 6.188 kB / 0.9425 GB, free: 15.09 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.8693, allocations: 11.12 kB / 0.9425 GB, free: 15.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002713/0.8696, allocations: 131.8 kB / 0.9427 GB, free: 14.97 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.87, allocations: 0.6795 MB / 0.9433 GB, free: 14.28 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.628e-05/0.8701, allocations: 5.344 kB / 0.9433 GB, free: 14.28 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.175e-05/0.8701, allocations: 13.16 kB / 0.9433 GB, free: 14.27 MB / 490.7 MB Notification: Performance of SimCode: time 1.434e-06/0.8701, allocations: 0 / 0.9433 GB, free: 14.27 MB / 490.7 MB Notification: Performance of Templates: time 0.002946/0.8731, allocations: 0.4971 MB / 0.9438 GB, free: 14.21 MB / 490.7 MB