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.001401/0.001401, allocations: 183.7 kB / 15.76 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.6876/0.6876, allocations: 82.93 MB / 99.42 MB, free: 3.332 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.265/2.265, allocations: 205.4 MB / 325.4 MB, free: 3.281 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 90.84 kB / 393.6 MB, free: 15.05 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004522/0.0004525, allocations: 12 kB / 471.5 MB, free: 66.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09139/0.09187, allocations: 67.45 MB / 0.5263 GB, free: 15.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6121/0.704, allocations: 124.9 MB / 0.6483 GB, free: 10.94 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002732/0.7043, allocations: 136.6 kB / 0.6484 GB, free: 10.84 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.772e-05/0.7044, allocations: 0 / 0.6484 GB, free: 10.84 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 9.124e-05/0.7045, allocations: 0 / 0.6484 GB, free: 10.84 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.902e-05/0.7045, allocations: 7.922 kB / 0.6484 GB, free: 10.83 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.7049, allocations: 69.28 kB / 0.6485 GB, free: 10.78 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.388e-05/0.705, allocations: 30.92 kB / 0.6485 GB, free: 10.76 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.927e-05/0.705, allocations: 1.281 kB / 0.6485 GB, free: 10.76 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.355e-05/0.7051, allocations: 7.531 kB / 0.6486 GB, free: 10.76 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.081e-05/0.7052, allocations: 7.562 kB / 0.6486 GB, free: 10.75 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.7052, allocations: 1.188 kB / 0.6486 GB, free: 10.75 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002445/0.7054, allocations: 50.31 kB / 0.6486 GB, free: 10.73 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.895e-05/0.7055, allocations: 10.77 kB / 0.6486 GB, free: 10.72 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.7055, allocations: 32.05 kB / 0.6487 GB, free: 10.68 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.7057, allocations: 28.77 kB / 0.6487 GB, free: 10.68 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.387e-06/0.7057, allocations: 4 kB / 0.6487 GB, free: 10.67 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.214e-06/0.7057, allocations: 3.984 kB / 0.6487 GB, free: 10.67 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.7057, allocations: 0 / 0.6487 GB, free: 10.67 MB / 442.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.0004158/0.7061, allocations: 333.5 kB / 0.649 GB, free: 10.3 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.7062, allocations: 9.375 kB / 0.649 GB, free: 10.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000269/0.7065, allocations: 16.73 kB / 0.649 GB, free: 10.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.7066, allocations: 164.7 kB / 0.6492 GB, free: 10.1 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.206e-05/0.7067, allocations: 29.83 kB / 0.6492 GB, free: 10.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.7067, allocations: 5.672 kB / 0.6492 GB, free: 10.07 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.7069, allocations: 48.14 kB / 0.6493 GB, free: 10.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.037e-06/0.7069, allocations: 0 / 0.6493 GB, free: 10.02 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.707, allocations: 0 / 0.6493 GB, free: 10.02 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.219e-05/0.707, allocations: 6.844 kB / 0.6493 GB, free: 10.02 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.78e-05/0.7071, allocations: 19.14 kB / 0.6493 GB, free: 10.01 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.7075, allocations: 264.3 kB / 0.6495 GB, free: 9.719 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.241e-05/0.7076, allocations: 19.83 kB / 0.6496 GB, free: 9.691 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.109e-06/0.7076, allocations: 0 / 0.6496 GB, free: 9.691 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.7077, allocations: 32 kB / 0.6496 GB, free: 9.652 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.837e-06/0.7077, allocations: 0 / 0.6496 GB, free: 9.652 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001574/0.7078, allocations: 43.89 kB / 0.6496 GB, free: 9.609 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.7079, allocations: 55.39 kB / 0.6497 GB, free: 9.543 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.708, allocations: 105.6 kB / 0.6498 GB, free: 9.438 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.7081, allocations: 25.7 kB / 0.6498 GB, free: 9.406 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.463e-05/0.7081, allocations: 94.56 kB / 0.6499 GB, free: 9.312 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.014e-05/0.7082, allocations: 4 kB / 0.6499 GB, free: 9.309 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-06/0.7082, allocations: 2.656 kB / 0.6499 GB, free: 9.309 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.7083, allocations: 310.8 kB / 0.6502 GB, free: 8.996 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.823e-05/0.7084, allocations: 6.438 kB / 0.6502 GB, free: 8.992 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.22e-05/0.7084, allocations: 31.12 kB / 0.6502 GB, free: 8.957 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.336e-05/0.7085, allocations: 12.7 kB / 0.6503 GB, free: 8.949 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.922e-06/0.7085, allocations: 0 / 0.6503 GB, free: 8.949 MB / 442.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001285/0.7086, allocations: 57.53 kB / 0.6503 GB, free: 8.902 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.7086, allocations: 6.375 kB / 0.6503 GB, free: 8.902 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.759e-06/0.7087, allocations: 4.094 kB / 0.6503 GB, free: 8.898 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.7087, allocations: 1.625 kB / 0.6503 GB, free: 8.898 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.515e-05/0.7088, allocations: 6.188 kB / 0.6503 GB, free: 8.898 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.864e-06/0.7088, allocations: 0 / 0.6503 GB, free: 8.898 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.777e-05/0.7088, allocations: 2.688 kB / 0.6503 GB, free: 8.898 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.7089, allocations: 5.312 kB / 0.6503 GB, free: 8.895 MB / 442.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.0001063/0.709, allocations: 116.5 kB / 0.6504 GB, free: 8.773 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.771e-05/0.709, allocations: 1.312 kB / 0.6504 GB, free: 8.773 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.385e-05/0.7091, allocations: 4.469 kB / 0.6504 GB, free: 8.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.7091, allocations: 4 kB / 0.6505 GB, free: 8.766 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.558e-06/0.7091, allocations: 3.938 kB / 0.6505 GB, free: 8.766 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.023e-06/0.7091, allocations: 1.344 kB / 0.6505 GB, free: 8.766 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003992/0.7095, allocations: 346.7 kB / 0.6508 GB, free: 8.375 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.059e-06/0.7095, allocations: 96 / 0.6508 GB, free: 8.375 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.071e-05/0.7096, allocations: 7.078 kB / 0.6508 GB, free: 8.371 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.482e-06/0.7096, allocations: 3.984 kB / 0.6508 GB, free: 8.367 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.7096, allocations: 4 kB / 0.6508 GB, free: 8.363 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.7096, allocations: 7.969 kB / 0.6508 GB, free: 8.355 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.958e-06/0.7096, allocations: 0 / 0.6508 GB, free: 8.355 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.416e-05/0.7097, allocations: 59.53 kB / 0.6509 GB, free: 8.285 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.718e-05/0.7098, allocations: 84.36 kB / 0.6509 GB, free: 8.188 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.7098, allocations: 3.984 kB / 0.651 GB, free: 8.184 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.7099, allocations: 2.406 kB / 0.651 GB, free: 8.184 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.406e-05/0.71, allocations: 4 kB / 0.651 GB, free: 8.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.322e-06/0.71, allocations: 6.125 kB / 0.651 GB, free: 8.176 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.646e-05/0.7101, allocations: 83.27 kB / 0.651 GB, free: 8.098 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.35e-07/0.7101, allocations: 0 / 0.651 GB, free: 8.098 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002595/0.7103, allocations: 6.875 kB / 0.651 GB, free: 8.098 MB / 442.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.0001055/0.7105, allocations: 97.06 kB / 0.6511 GB, free: 8.012 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.172e-05/0.7105, allocations: 13.41 kB / 0.6512 GB, free: 8.008 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.293e-06/0.7106, allocations: 0 / 0.6512 GB, free: 8.008 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.2e-05/0.7106, allocations: 8.125 kB / 0.6512 GB, free: 8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.7108, allocations: 7.016 kB / 0.6512 GB, free: 7.996 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002671/0.7111, allocations: 128.4 kB / 0.6513 GB, free: 7.867 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.7114, allocations: 0.6783 MB / 0.652 GB, free: 7.168 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.777e-05/0.7115, allocations: 8.625 kB / 0.652 GB, free: 7.164 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.7116, allocations: 7.438 kB / 0.652 GB, free: 7.156 MB / 442.7 MB Notification: Performance of SimCode: time 1.355e-06/0.7116, allocations: 0 / 0.652 GB, free: 7.156 MB / 442.7 MB Notification: Performance of Templates: time 0.002766/0.7143, allocations: 428 kB / 0.6524 GB, free: 6.945 MB / 442.7 MB