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.005501/0.005502, allocations: 361 kB / 16.59 MB, free: 5.562 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.594/1.594, allocations: 165.8 MB / 183.1 MB, free: 5.457 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.734/3.734, allocations: 410.8 MB / 0.6001 GB, free: 15.12 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.001747/0.001747, allocations: 183.4 kB / 0.6668 GB, free: 6.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006878/0.0006881, allocations: 12 kB / 0.7429 GB, free: 8.93 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4498/0.4505, allocations: 67.43 MB / 0.8087 GB, free: 28.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6134/1.064, allocations: 133.9 MB / 0.9395 GB, free: 1.789 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004087/1.064, allocations: 141.3 kB / 0.9397 GB, free: 1.785 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.519e-05/1.064, allocations: 0.9688 kB / 0.9397 GB, free: 1.785 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/1.065, allocations: 5.719 kB / 0.9397 GB, free: 1.781 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 9.136e-05/1.065, allocations: 16.52 kB / 0.9397 GB, free: 1.781 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005604/1.065, allocations: 63.66 kB / 0.9398 GB, free: 1.781 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/1.065, allocations: 43.53 kB / 0.9398 GB, free: 1.781 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.641e-05/1.066, allocations: 3.891 kB / 0.9398 GB, free: 1.781 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.796e-05/1.066, allocations: 12.73 kB / 0.9398 GB, free: 1.781 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.704e-05/1.066, allocations: 17.38 kB / 0.9398 GB, free: 1.781 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/1.066, allocations: 5.719 kB / 0.9398 GB, free: 1.777 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003489/1.066, allocations: 45.64 kB / 0.9399 GB, free: 1.777 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 4.507e-05/1.066, allocations: 10.75 kB / 0.9399 GB, free: 1.777 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 4.056e-05/1.066, allocations: 30.2 kB / 0.9399 GB, free: 1.746 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/1.066, allocations: 33.42 kB / 0.9399 GB, free: 1.742 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.066, allocations: 1.062 kB / 0.9399 GB, free: 1.742 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.255e-06/1.066, allocations: 0 / 0.9399 GB, free: 1.742 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/1.066, allocations: 0 / 0.9399 GB, free: 1.742 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.0005164/1.067, allocations: 335.8 kB / 0.9403 GB, free: 1.383 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.084e-05/1.067, allocations: 8.969 kB / 0.9403 GB, free: 1.383 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004101/1.068, allocations: 18.66 kB / 0.9403 GB, free: 1.383 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/1.068, allocations: 164.2 kB / 0.9405 GB, free: 1.188 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.471e-05/1.068, allocations: 26.83 kB / 0.9405 GB, free: 1.156 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/1.068, allocations: 5.828 kB / 0.9405 GB, free: 1.152 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/1.068, allocations: 49.42 kB / 0.9405 GB, free: 1.117 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/1.068, allocations: 6.859 kB / 0.9405 GB, free: 1.113 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/1.068, allocations: 0.6562 kB / 0.9405 GB, free: 1.113 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/1.068, allocations: 7.25 kB / 0.9405 GB, free: 1.113 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/1.068, allocations: 16.23 kB / 0.9406 GB, free: 1.113 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007257/1.069, allocations: 255 kB / 0.9408 GB, free: 16.85 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.585e-05/1.069, allocations: 20.36 kB / 0.9408 GB, free: 16.82 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.554e-05/1.069, allocations: 10.36 kB / 0.9408 GB, free: 16.81 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/1.069, allocations: 0.5 kB / 0.9408 GB, free: 16.81 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/1.069, allocations: 33.19 kB / 0.9409 GB, free: 16.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 3.176e-06/1.069, allocations: 0.6562 kB / 0.9409 GB, free: 16.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.000199/1.07, allocations: 35.98 kB / 0.9409 GB, free: 16.74 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/1.07, allocations: 51.94 kB / 0.9409 GB, free: 16.68 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/1.07, allocations: 111.1 kB / 0.9411 GB, free: 16.58 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/1.07, allocations: 29.7 kB / 0.9411 GB, free: 16.54 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.79e-05/1.07, allocations: 95.73 kB / 0.9412 GB, free: 16.45 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.13e-05/1.07, allocations: 0.7812 kB / 0.9412 GB, free: 16.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/1.07, allocations: 0 / 0.9412 GB, free: 16.45 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001647/1.07, allocations: 312.7 kB / 0.9415 GB, free: 16.14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.793e-05/1.07, allocations: 10.48 kB / 0.9415 GB, free: 16.14 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.39e-05/1.07, allocations: 19.33 kB / 0.9415 GB, free: 16.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.042e-05/1.07, allocations: 23.16 kB / 0.9415 GB, free: 16.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/1.07, allocations: 0 / 0.9415 GB, free: 16.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002013/1.071, allocations: 57.98 kB / 0.9416 GB, free: 16.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/1.071, allocations: 5.5 kB / 0.9416 GB, free: 16.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/1.071, allocations: 1.156 kB / 0.9416 GB, free: 16.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/1.071, allocations: 1 kB / 0.9416 GB, free: 16.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/1.071, allocations: 5.375 kB / 0.9416 GB, free: 16.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/1.071, allocations: 1.312 kB / 0.9416 GB, free: 16.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/1.071, allocations: 5.406 kB / 0.9416 GB, free: 16.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/1.071, allocations: 4.078 kB / 0.9416 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.000137/1.071, allocations: 119.7 kB / 0.9417 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.113e-05/1.071, allocations: 2.062 kB / 0.9417 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/1.071, allocations: 4.594 kB / 0.9417 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/1.071, allocations: 0 / 0.9417 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/1.071, allocations: 0 / 0.9417 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.917e-05/1.071, allocations: 77.92 kB / 0.9418 GB, free: 15.85 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/1.072, allocations: 6.344 kB / 0.9418 GB, free: 15.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/1.072, allocations: 7.5 kB / 0.9418 GB, free: 15.85 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.689e-05/1.072, allocations: 4 kB / 0.9418 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001365/1.072, allocations: 113.7 kB / 0.9419 GB, free: 15.73 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001944/1.072, allocations: 210.1 kB / 0.9421 GB, free: 15.53 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.97e-05/1.072, allocations: 9.438 kB / 0.9421 GB, free: 15.52 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.473e-05/1.072, allocations: 80.62 kB / 0.9422 GB, free: 15.45 MB / 490.7 MB Notification: Performance of Backend: time 1.182e-06/1.072, allocations: 0 / 0.9422 GB, free: 15.45 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007586/1.073, allocations: 111.6 kB / 0.9423 GB, free: 15.38 MB / 490.7 MB Notification: Performance of SimCode: time 0.0007868/1.074, allocations: 0.5713 MB / 0.9429 GB, free: 14.8 MB / 490.7 MB Notification: Performance of Templates: time 0.005695/1.08, allocations: 0.6351 MB / 0.9435 GB, free: 14.73 MB / 490.7 MB