Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 109.7 kB / 16.41 MB, free: 6.453 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.001315/0.001315, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.473/1.473, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8495/0.8495, allocations: 135.2 MB / 426.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 63.41 kB / 0.5863 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1687, allocations: 80.93 MB / 0.6654 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5257/0.6944, allocations: 148.7 MB / 0.8106 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001364/0.6945, allocations: 54.17 kB / 0.8106 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.37e-05/0.6945, allocations: 0 / 0.8106 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.6947, allocations: 6.094 kB / 0.8106 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.648e-05/0.6947, allocations: 7.766 kB / 0.8106 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006616/0.6954, allocations: 227.6 kB / 0.8109 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.34e-05/0.6955, allocations: 30.69 kB / 0.8109 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.988e-05/0.6955, allocations: 3.359 kB / 0.8109 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.177e-05/0.6956, allocations: 15.17 kB / 0.8109 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.495e-05/0.6956, allocations: 21.36 kB / 0.8109 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.6956, allocations: 1.781 kB / 0.8109 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003453/0.696, allocations: 196.5 kB / 0.8111 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.234e-05/0.696, allocations: 11.55 kB / 0.8111 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.696, allocations: 11.28 kB / 0.8111 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.6963, allocations: 112 kB / 0.8112 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6963, allocations: 0 / 0.8112 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6963, allocations: 3.938 kB / 0.8112 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.6963, allocations: 0 / 0.8112 GB, free: 11.4 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.0004817/0.6968, allocations: 347.8 kB / 0.8116 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.6968, allocations: 11.11 kB / 0.8116 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002937/0.6971, allocations: 25.86 kB / 0.8116 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.6972, allocations: 165.5 kB / 0.8118 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.736e-05/0.6973, allocations: 29.64 kB / 0.8118 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.116e-06/0.6973, allocations: 1.125 kB / 0.8118 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.6974, allocations: 55.38 kB / 0.8118 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.6975, allocations: 0 / 0.8118 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.6975, allocations: 0 / 0.8118 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.6975, allocations: 8.094 kB / 0.8119 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.902e-05/0.6975, allocations: 23.7 kB / 0.8119 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003614/0.6979, allocations: 254 kB / 0.8121 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 5.775e-05/0.6979, allocations: 22.53 kB / 0.8121 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.273e-05/0.698, allocations: 11.17 kB / 0.8122 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001625/0.6981, allocations: 97.31 kB / 0.8122 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.6982, allocations: 33 kB / 0.8123 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.6982, allocations: 0 / 0.8123 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0002411/0.6984, allocations: 49.58 kB / 0.8123 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.6984, allocations: 56.55 kB / 0.8124 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.828e-05/0.6985, allocations: 104 kB / 0.8125 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.6986, allocations: 33.39 kB / 0.8125 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.416e-05/0.6986, allocations: 92.44 kB / 0.8126 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.396e-06/0.6986, allocations: 6.438 kB / 0.8126 GB, free: 10 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.6987, allocations: 15.84 kB / 0.8126 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.6988, allocations: 313.3 kB / 0.8129 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.691e-05/0.6988, allocations: 7.75 kB / 0.8129 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.872e-05/0.6988, allocations: 26.47 kB / 0.813 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.507e-05/0.6989, allocations: 30.39 kB / 0.813 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6989, allocations: 0 / 0.813 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.611e-05/0.699, allocations: 61.78 kB / 0.813 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.699, allocations: 3.781 kB / 0.813 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.699, allocations: 1.75 kB / 0.813 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.699, allocations: 4.094 kB / 0.813 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.351e-05/0.6991, allocations: 9.625 kB / 0.8131 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.6991, allocations: 4.172 kB / 0.8131 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.013e-05/0.6991, allocations: 6.812 kB / 0.8131 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.6991, allocations: 0 / 0.8131 GB, free: 9.57 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.118e-05/0.6992, allocations: 108.4 kB / 0.8132 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.6992, allocations: 3.031 kB / 0.8132 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.172e-05/0.6992, allocations: 6.75 kB / 0.8132 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.6992, allocations: 8.031 kB / 0.8132 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.6992, allocations: 4 kB / 0.8132 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.6992, allocations: 3.938 kB / 0.8132 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003385/0.6996, allocations: 364.8 kB / 0.8135 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.6996, allocations: 2.688 kB / 0.8135 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.374e-05/0.6996, allocations: 6.25 kB / 0.8136 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.6996, allocations: 3.938 kB / 0.8136 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.6996, allocations: 2.578 kB / 0.8136 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.6996, allocations: 2.375 kB / 0.8136 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.6996, allocations: 4.062 kB / 0.8136 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.52e-05/0.6997, allocations: 72.72 kB / 0.8136 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-05/0.6998, allocations: 78.77 kB / 0.8137 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.6998, allocations: 3.938 kB / 0.8137 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.279e-05/0.6999, allocations: 6.422 kB / 0.8137 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.44e-05/0.6999, allocations: 4.031 kB / 0.8137 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.6999, allocations: 3.094 kB / 0.8137 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.474e-05/0.6999, allocations: 83.48 kB / 0.8138 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.6999, allocations: 0 / 0.8138 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001935/0.7001, allocations: 7.969 kB / 0.8138 GB, free: 8.789 MB / 0.5919 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.0001247/0.7002, allocations: 102.3 kB / 0.8139 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.269e-05/0.7003, allocations: 22.75 kB / 0.8139 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7003, allocations: 0 / 0.8139 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 9.668e-06/0.7003, allocations: 3.969 kB / 0.8139 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.7006, allocations: 6.625 kB / 0.8139 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002854/0.7008, allocations: 148.8 kB / 0.8141 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.7012, allocations: 0.6818 MB / 0.8147 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.7012, allocations: 13.72 kB / 0.8148 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.7012, allocations: 0 / 0.8148 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of Templates: time 0.001976/0.7032, allocations: 0.6148 MB / 0.8154 GB, free: 7.801 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)