Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001699/0.001698, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.0019/0.0019, allocations: 189.7 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8103/0.8103, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 61.53 kB / 0.5863 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1841, allocations: 80.91 MB / 0.6653 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6393/0.8235, allocations: 147.8 MB / 0.8097 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001563/0.8237, allocations: 52.77 kB / 0.8097 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.898e-05/0.8237, allocations: 3.062 kB / 0.8097 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.8239, allocations: 7.562 kB / 0.8097 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 9.285e-05/0.824, allocations: 12.95 kB / 0.8098 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005898/0.8246, allocations: 103.5 kB / 0.8099 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00012/0.8247, allocations: 34.81 kB / 0.8099 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.849e-05/0.8248, allocations: 8.734 kB / 0.8099 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.4e-05/0.8248, allocations: 8.781 kB / 0.8099 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.3e-05/0.8249, allocations: 15.62 kB / 0.8099 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.825, allocations: 1 kB / 0.8099 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003346/0.8253, allocations: 88.12 kB / 0.81 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.593e-05/0.8254, allocations: 6.453 kB / 0.81 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.8254, allocations: 13.66 kB / 0.81 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.8256, allocations: 70.94 kB / 0.8101 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.8256, allocations: 0 / 0.8101 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8257, allocations: 1.156 kB / 0.8101 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.8257, allocations: 4 kB / 0.8101 GB, free: 11.54 MB / 0.5919 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.0005038/0.8262, allocations: 338.1 kB / 0.8104 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.8262, allocations: 10.05 kB / 0.8104 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000263/0.8265, allocations: 18.16 kB / 0.8104 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.8267, allocations: 165.5 kB / 0.8106 GB, free: 11 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.981e-05/0.8267, allocations: 36.69 kB / 0.8106 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.8268, allocations: 10.11 kB / 0.8106 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.827, allocations: 45.73 kB / 0.8107 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.827, allocations: 1.312 kB / 0.8107 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.827, allocations: 0 / 0.8107 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.827, allocations: 1.344 kB / 0.8107 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.772e-05/0.8271, allocations: 19.62 kB / 0.8107 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004434/0.8275, allocations: 269.7 kB / 0.811 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 5.343e-05/0.8276, allocations: 21.52 kB / 0.811 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.03e-05/0.8276, allocations: 4.859 kB / 0.811 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.8276, allocations: 1.031 kB / 0.811 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.8277, allocations: 32.53 kB / 0.811 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.223e-06/0.8277, allocations: 0 / 0.811 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001635/0.8279, allocations: 36.59 kB / 0.8111 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.8279, allocations: 59.84 kB / 0.8111 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.828, allocations: 107.5 kB / 0.8112 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.828, allocations: 28.23 kB / 0.8113 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.868e-05/0.8281, allocations: 94.23 kB / 0.8113 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.111e-06/0.8281, allocations: 2.375 kB / 0.8113 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.8282, allocations: 15.84 kB / 0.8114 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.8283, allocations: 315.9 kB / 0.8117 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.592e-05/0.8283, allocations: 5.812 kB / 0.8117 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.354e-05/0.8284, allocations: 29.66 kB / 0.8117 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.141e-05/0.8284, allocations: 32.58 kB / 0.8117 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.8284, allocations: 0 / 0.8117 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.877e-05/0.8285, allocations: 54.59 kB / 0.8118 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.8285, allocations: 10.94 kB / 0.8118 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.8285, allocations: 0 / 0.8118 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.8286, allocations: 0 / 0.8118 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.444e-05/0.8286, allocations: 8.609 kB / 0.8118 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.8286, allocations: 6.438 kB / 0.8118 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.677e-05/0.8287, allocations: 6.844 kB / 0.8118 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.8287, allocations: 3.875 kB / 0.8118 GB, free: 9.809 MB / 0.5919 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 8.86e-05/0.8288, allocations: 111.5 kB / 0.8119 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.8288, allocations: 9.172 kB / 0.8119 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.303e-05/0.8289, allocations: 7.125 kB / 0.8119 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.8289, allocations: 0 / 0.8119 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.74e-05/0.8289, allocations: 3.938 kB / 0.8119 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.8289, allocations: 3.938 kB / 0.8119 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.8292, allocations: 340.8 kB / 0.8123 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.8292, allocations: 2.5 kB / 0.8123 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.453e-05/0.8292, allocations: 0 / 0.8123 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.8292, allocations: 3.938 kB / 0.8123 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.8293, allocations: 7.156 kB / 0.8123 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.8293, allocations: 0 / 0.8123 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.8293, allocations: 0 / 0.8123 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.52e-05/0.8293, allocations: 60.56 kB / 0.8123 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.236e-05/0.8294, allocations: 83.92 kB / 0.8124 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.8294, allocations: 5.859 kB / 0.8124 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.969e-05/0.8295, allocations: 5.297 kB / 0.8124 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.291e-05/0.8296, allocations: 11.28 kB / 0.8124 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.8296, allocations: 0 / 0.8124 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.992e-05/0.8296, allocations: 85.08 kB / 0.8125 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8296, allocations: 0 / 0.8125 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001987/0.8298, allocations: 6.688 kB / 0.8125 GB, free: 9.039 MB / 0.5919 GB 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 (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.0001194/0.8299, allocations: 101.2 kB / 0.8126 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.227e-05/0.83, allocations: 15.42 kB / 0.8126 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.8301, allocations: 4.188 kB / 0.8126 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.262e-06/0.8301, allocations: 1.906 kB / 0.8126 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.8303, allocations: 6.656 kB / 0.8126 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002858/0.8306, allocations: 128 kB / 0.8128 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.8309, allocations: 0.6739 MB / 0.8134 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.673e-05/0.831, allocations: 10.25 kB / 0.8134 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of SimCode: time 3.8e-07/0.831, allocations: 0 / 0.8134 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of Templates: time 0.002004/0.833, allocations: 0.5703 MB / 0.814 GB, free: 8.09 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)