Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Annex60.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006994/0.006994, allocations: 103.8 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 191.5 kB / 16.67 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4031/0.4031, allocations: 54.95 MB / 324.8 MB, free: 15.97 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 65.08 kB / 456.2 MB, free: 38.25 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1523, allocations: 59.6 MB / 0.5037 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirTemperatureEnthalpyInversion): time 0.6767/0.8291, allocations: 148.3 MB / 0.6485 GB, free: 448 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002054/0.8293, allocations: 48.8 kB / 0.6485 GB, free: 444 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.128e-05/0.8294, allocations: 0.9062 kB / 0.6485 GB, free: 444 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.8296, allocations: 6.281 kB / 0.6485 GB, free: 444 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.159e-05/0.8297, allocations: 13.31 kB / 0.6485 GB, free: 444 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009728/0.8307, allocations: 201 kB / 0.6487 GB, free: 444 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.8308, allocations: 29.08 kB / 0.6488 GB, free: 444 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.026e-05/0.8309, allocations: 1.906 kB / 0.6488 GB, free: 444 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.626e-05/0.8309, allocations: 22.11 kB / 0.6488 GB, free: 440 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.318e-05/0.831, allocations: 11.7 kB / 0.6488 GB, free: 440 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.831, allocations: 1.031 kB / 0.6488 GB, free: 440 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005096/0.8316, allocations: 201.8 kB / 0.649 GB, free: 436 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.36e-05/0.8316, allocations: 10.41 kB / 0.649 GB, free: 436 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.678e-05/0.8317, allocations: 11.86 kB / 0.649 GB, free: 436 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002985/0.832, allocations: 109.2 kB / 0.6491 GB, free: 432 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.832, allocations: 0.9062 kB / 0.6491 GB, free: 432 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.914e-06/0.832, allocations: 0 / 0.6491 GB, free: 432 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.832, allocations: 0.8438 kB / 0.6491 GB, free: 432 kB / 0.4981 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.0005401/0.8326, allocations: 342.1 kB / 0.6494 GB, free: 16.07 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.8326, allocations: 8.938 kB / 0.6494 GB, free: 16.07 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003974/0.833, allocations: 25.17 kB / 0.6495 GB, free: 16.07 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.8332, allocations: 168.3 kB / 0.6496 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.796e-05/0.8332, allocations: 34.45 kB / 0.6497 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.8333, allocations: 5.453 kB / 0.6497 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.8334, allocations: 52.55 kB / 0.6497 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.8335, allocations: 0 / 0.6497 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.8335, allocations: 2.188 kB / 0.6497 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.8335, allocations: 1 kB / 0.6497 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.396e-05/0.8336, allocations: 21.98 kB / 0.6497 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.834, allocations: 257.6 kB / 0.65 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.591e-05/0.8341, allocations: 30.06 kB / 0.65 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.384e-05/0.8341, allocations: 7.734 kB / 0.65 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/0.8343, allocations: 91.91 kB / 0.6501 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.8343, allocations: 35.06 kB / 0.6501 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 2.124e-06/0.8343, allocations: 3.938 kB / 0.6502 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0002669/0.8346, allocations: 52.95 kB / 0.6502 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.8346, allocations: 56.31 kB / 0.6503 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.623e-05/0.8347, allocations: 100.4 kB / 0.6504 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.8348, allocations: 25.7 kB / 0.6504 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/0.8348, allocations: 93.23 kB / 0.6505 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.898e-06/0.8348, allocations: 7.625 kB / 0.6505 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.8349, allocations: 13.12 kB / 0.6505 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.835, allocations: 315.2 kB / 0.6508 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.019e-05/0.835, allocations: 11.27 kB / 0.6508 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.754e-05/0.8351, allocations: 29.02 kB / 0.6508 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.624e-05/0.8351, allocations: 27.55 kB / 0.6508 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8351, allocations: 0.75 kB / 0.6508 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.803e-05/0.8352, allocations: 59.81 kB / 0.6509 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.8352, allocations: 5.75 kB / 0.6509 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.8352, allocations: 0 / 0.6509 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.8353, allocations: 1.688 kB / 0.6509 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.3e-05/0.8353, allocations: 7.281 kB / 0.6509 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.8353, allocations: 1.812 kB / 0.6509 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.218e-05/0.8354, allocations: 5.531 kB / 0.6509 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.8354, allocations: 2.625 kB / 0.6509 GB, free: 14.62 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.417e-05/0.8355, allocations: 112.9 kB / 0.651 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.8355, allocations: 13.12 kB / 0.6511 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.384e-05/0.8356, allocations: 6.125 kB / 0.6511 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.8356, allocations: 0.7188 kB / 0.6511 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.8356, allocations: 0.6875 kB / 0.6511 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.8356, allocations: 3.938 kB / 0.6511 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003154/0.8359, allocations: 357.8 kB / 0.6514 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.8359, allocations: 4.125 kB / 0.6514 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.718e-05/0.836, allocations: 6.969 kB / 0.6514 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.836, allocations: 4.781 kB / 0.6514 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.836, allocations: 1.688 kB / 0.6514 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.836, allocations: 1.094 kB / 0.6514 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.836, allocations: 0.7812 kB / 0.6514 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.686e-05/0.8361, allocations: 71.62 kB / 0.6515 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-05/0.8361, allocations: 82.42 kB / 0.6516 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.8362, allocations: 9.094 kB / 0.6516 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.573e-05/0.8362, allocations: 4.5 kB / 0.6516 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.98e-05/0.8362, allocations: 4.859 kB / 0.6516 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.8363, allocations: 0.9062 kB / 0.6516 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.611e-05/0.8363, allocations: 78.94 kB / 0.6517 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.72e-07/0.8363, allocations: 0 / 0.6517 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002186/0.8365, allocations: 11.14 kB / 0.6517 GB, free: 13.84 MB / 0.5137 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000153/0.8367, allocations: 105.5 kB / 0.6518 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.8368, allocations: 20.47 kB / 0.6518 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8368, allocations: 0 / 0.6518 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.369e-05/0.8368, allocations: 6.844 kB / 0.6518 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.8371, allocations: 11.62 kB / 0.6518 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002844/0.8374, allocations: 122.5 kB / 0.6519 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.8377, allocations: 0.6751 MB / 0.6526 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.917e-05/0.8377, allocations: 4.031 kB / 0.6526 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.771e-05/0.8378, allocations: 9.062 kB / 0.6526 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of SimCode: time 1.213e-06/0.8378, allocations: 0 / 0.6526 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of Templates: time 0.003227/0.841, allocations: 0.5465 MB / 0.6531 GB, free: 12.86 MB / 0.5137 GB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)