Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002403/0.002402, allocations: 358.2 kB / 15.95 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.483/1.483, allocations: 165.8 MB / 182.5 MB, free: 5.426 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 3.844/3.844, allocations: 410.8 MB / 0.5995 GB, free: 15.11 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.001715/0.001714, allocations: 198.2 kB / 0.6662 GB, free: 6.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 12 kB / 0.7423 GB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3897, allocations: 67.44 MB / 0.8081 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5219/0.9117, allocations: 133.9 MB / 0.9389 GB, free: 1.781 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002461/0.9119, allocations: 143.3 kB / 0.9391 GB, free: 1.777 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.84e-05/0.912, allocations: 0 / 0.9391 GB, free: 1.777 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 8.658e-05/0.9121, allocations: 5.5 kB / 0.9391 GB, free: 1.777 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 6.453e-05/0.9122, allocations: 16.02 kB / 0.9391 GB, free: 1.777 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.9125, allocations: 65.08 kB / 0.9392 GB, free: 1.777 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 8.655e-05/0.9126, allocations: 49.17 kB / 0.9392 GB, free: 1.777 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.353e-05/0.9127, allocations: 5.219 kB / 0.9392 GB, free: 1.773 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.949e-05/0.9127, allocations: 9.781 kB / 0.9392 GB, free: 1.773 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.466e-05/0.9128, allocations: 15.14 kB / 0.9392 GB, free: 1.773 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.9128, allocations: 1.594 kB / 0.9392 GB, free: 1.773 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002234/0.913, allocations: 44.75 kB / 0.9393 GB, free: 1.773 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 3.276e-05/0.9131, allocations: 14.19 kB / 0.9393 GB, free: 1.773 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 3.494e-05/0.9131, allocations: 27.92 kB / 0.9393 GB, free: 1.742 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.9132, allocations: 30.94 kB / 0.9393 GB, free: 1.738 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.9133, allocations: 0.7812 kB / 0.9393 GB, free: 1.738 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.789e-06/0.9133, allocations: 0 / 0.9393 GB, free: 1.738 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.395e-06/0.9133, allocations: 4.844 kB / 0.9394 GB, free: 1.734 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.0004017/0.9137, allocations: 333.2 kB / 0.9397 GB, free: 1.379 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.9137, allocations: 9.594 kB / 0.9397 GB, free: 1.379 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002608/0.914, allocations: 18.75 kB / 0.9397 GB, free: 1.379 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.9142, allocations: 162.2 kB / 0.9399 GB, free: 1.184 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.567e-05/0.9143, allocations: 30.3 kB / 0.9399 GB, free: 1.152 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.9143, allocations: 7.609 kB / 0.9399 GB, free: 1.148 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.9145, allocations: 50.17 kB / 0.9399 GB, free: 1.113 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.163e-06/0.9145, allocations: 0 / 0.9399 GB, free: 1.113 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.9145, allocations: 0.625 kB / 0.9399 GB, free: 1.113 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.9145, allocations: 2.188 kB / 0.9399 GB, free: 1.113 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.74e-05/0.9146, allocations: 16.83 kB / 0.94 GB, free: 1.113 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000486/0.9151, allocations: 262.8 kB / 0.9402 GB, free: 16.85 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.449e-05/0.9152, allocations: 20.27 kB / 0.9402 GB, free: 16.82 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.802e-05/0.9152, allocations: 8.812 kB / 0.9402 GB, free: 16.81 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.193e-06/0.9152, allocations: 2.531 kB / 0.9402 GB, free: 16.81 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.9153, allocations: 32.12 kB / 0.9403 GB, free: 16.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 2.008e-06/0.9153, allocations: 0 / 0.9403 GB, free: 16.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001475/0.9154, allocations: 37.48 kB / 0.9403 GB, free: 16.74 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.9155, allocations: 56.25 kB / 0.9404 GB, free: 16.68 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.781e-05/0.9156, allocations: 111.8 kB / 0.9405 GB, free: 16.57 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.9156, allocations: 26.7 kB / 0.9405 GB, free: 16.54 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.747e-05/0.9157, allocations: 94.78 kB / 0.9406 GB, free: 16.45 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.598e-06/0.9157, allocations: 1.922 kB / 0.9406 GB, free: 16.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-06/0.9157, allocations: 0 / 0.9406 GB, free: 16.45 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.9159, allocations: 319.1 kB / 0.9409 GB, free: 16.13 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.089e-05/0.9159, allocations: 4.406 kB / 0.9409 GB, free: 16.13 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.167e-05/0.916, allocations: 27.69 kB / 0.9409 GB, free: 16.11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.217e-05/0.916, allocations: 9.25 kB / 0.9409 GB, free: 16.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.97e-06/0.916, allocations: 0 / 0.9409 GB, free: 16.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001237/0.9162, allocations: 60.03 kB / 0.941 GB, free: 16.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.9162, allocations: 9.188 kB / 0.941 GB, free: 16.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.143e-06/0.9162, allocations: 0 / 0.941 GB, free: 16.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.9162, allocations: 5.938 kB / 0.941 GB, free: 16.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.788e-05/0.9163, allocations: 6.453 kB / 0.941 GB, free: 16.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.2e-06/0.9163, allocations: 2.719 kB / 0.941 GB, free: 16.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.457e-05/0.9164, allocations: 1.5 kB / 0.941 GB, free: 16.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.563e-06/0.9164, allocations: 3.219 kB / 0.941 GB, free: 16.07 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.0001018/0.9165, allocations: 119.9 kB / 0.9411 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.9166, allocations: 2.109 kB / 0.9411 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.228e-05/0.9166, allocations: 9.016 kB / 0.9411 GB, free: 15.94 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.678e-06/0.9166, allocations: 0 / 0.9411 GB, free: 15.94 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.786e-06/0.9166, allocations: 4 kB / 0.9411 GB, free: 15.94 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.9166, allocations: 1.922 kB / 0.9411 GB, free: 15.94 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003312/0.917, allocations: 349.5 kB / 0.9415 GB, free: 15.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.651e-06/0.917, allocations: 0.7031 kB / 0.9415 GB, free: 15.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.012e-05/0.917, allocations: 3.359 kB / 0.9415 GB, free: 15.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.435e-06/0.917, allocations: 1.406 kB / 0.9415 GB, free: 15.56 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.298e-06/0.917, allocations: 1.688 kB / 0.9415 GB, free: 15.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.145e-06/0.9171, allocations: 0 / 0.9415 GB, free: 15.56 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.742e-06/0.9171, allocations: 0 / 0.9415 GB, free: 15.56 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.182e-05/0.9172, allocations: 71.36 kB / 0.9415 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.24e-05/0.9172, allocations: 79.3 kB / 0.9416 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.9173, allocations: 0.9844 kB / 0.9416 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.884e-05/0.9174, allocations: 4.656 kB / 0.9416 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.193e-05/0.9174, allocations: 5.031 kB / 0.9416 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.966e-06/0.9174, allocations: 1.516 kB / 0.9416 GB, free: 15.39 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.777e-05/0.9175, allocations: 89.95 kB / 0.9417 GB, free: 15.31 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.22e-07/0.9175, allocations: 0 / 0.9417 GB, free: 15.31 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000256/0.9178, allocations: 5.844 kB / 0.9417 GB, free: 15.31 MB / 490.7 MB 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.0001143/0.9179, allocations: 97.72 kB / 0.9418 GB, free: 15.22 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.017e-05/0.918, allocations: 14.16 kB / 0.9418 GB, free: 15.22 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.633e-06/0.918, allocations: 3.938 kB / 0.9418 GB, free: 15.22 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.137e-05/0.918, allocations: 5.609 kB / 0.9418 GB, free: 15.22 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.9183, allocations: 17.97 kB / 0.9419 GB, free: 15.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002495/0.9186, allocations: 113 kB / 0.942 GB, free: 15.11 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.9189, allocations: 0.6808 MB / 0.9426 GB, free: 14.41 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.719e-05/0.919, allocations: 8.516 kB / 0.9426 GB, free: 14.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.891e-05/0.919, allocations: 8.969 kB / 0.9426 GB, free: 14.4 MB / 490.7 MB Notification: Performance of SimCode: time 2.092e-06/0.9191, allocations: 0.6875 kB / 0.9426 GB, free: 14.4 MB / 490.7 MB Notification: Performance of Templates: time 0.00278/0.9218, allocations: 425 kB / 0.9431 GB, free: 14.36 MB / 490.7 MB