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.005866/0.005867, allocations: 102 kB / 15.73 MB, free: 6.055 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.001295/0.001295, allocations: 194.3 kB / 16.67 MB, free: 5.965 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.345/1.345, allocations: 222.9 MB / 240.4 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.8127/0.8127, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 61.45 kB / 0.5856 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.162, allocations: 80.92 MB / 0.6646 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5655/0.7275, allocations: 148.3 MB / 0.8094 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001572/0.7277, allocations: 62.12 kB / 0.8095 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.639e-05/0.7278, allocations: 0 / 0.8095 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.7279, allocations: 2.484 kB / 0.8095 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.741e-05/0.728, allocations: 17.38 kB / 0.8095 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008009/0.7289, allocations: 220.7 kB / 0.8097 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.867e-05/0.7289, allocations: 30.45 kB / 0.8097 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.28e-05/0.729, allocations: 2.812 kB / 0.8097 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.972e-05/0.729, allocations: 14.94 kB / 0.8098 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.692e-05/0.7291, allocations: 13.23 kB / 0.8098 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.7291, allocations: 2.969 kB / 0.8098 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004052/0.7296, allocations: 200.8 kB / 0.81 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.996e-05/0.7296, allocations: 12.86 kB / 0.81 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.294e-05/0.7297, allocations: 6.688 kB / 0.81 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.7299, allocations: 119 kB / 0.8101 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.7299, allocations: 6.438 kB / 0.8101 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.633e-06/0.73, allocations: 0 / 0.8101 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.73, allocations: 0 / 0.8101 GB, free: 11.99 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.0004671/0.7304, allocations: 340.6 kB / 0.8104 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.7305, allocations: 9.328 kB / 0.8104 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003111/0.7308, allocations: 22.98 kB / 0.8105 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.7309, allocations: 168.8 kB / 0.8106 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.693e-05/0.731, allocations: 29.64 kB / 0.8106 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.731, allocations: 6.875 kB / 0.8107 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.7312, allocations: 48.8 kB / 0.8107 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.7312, allocations: 0 / 0.8107 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.7312, allocations: 3.938 kB / 0.8107 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.7312, allocations: 7.938 kB / 0.8107 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.14e-05/0.7313, allocations: 18.31 kB / 0.8107 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003461/0.7316, allocations: 270.2 kB / 0.811 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 5.012e-05/0.7317, allocations: 17.39 kB / 0.811 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.816e-05/0.7317, allocations: 10.31 kB / 0.811 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001424/0.7319, allocations: 93.5 kB / 0.8111 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.7319, allocations: 34.5 kB / 0.8111 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.7319, allocations: 2.438 kB / 0.8111 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0002262/0.7321, allocations: 50.14 kB / 0.8112 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.7322, allocations: 54.25 kB / 0.8112 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.424e-05/0.7323, allocations: 107 kB / 0.8113 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.7323, allocations: 26.73 kB / 0.8114 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.842e-05/0.7324, allocations: 91.61 kB / 0.8114 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.655e-06/0.7324, allocations: 6.469 kB / 0.8115 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.7324, allocations: 12.41 kB / 0.8115 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.7325, allocations: 323.1 kB / 0.8118 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.576e-05/0.7325, allocations: 2.938 kB / 0.8118 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.891e-05/0.7326, allocations: 28.89 kB / 0.8118 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.828e-05/0.7326, allocations: 28.72 kB / 0.8118 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.7326, allocations: 5.312 kB / 0.8118 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.217e-05/0.7327, allocations: 51.25 kB / 0.8119 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.7327, allocations: 4.688 kB / 0.8119 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.7327, allocations: 4.312 kB / 0.8119 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.7328, allocations: 1.922 kB / 0.8119 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.622e-05/0.7328, allocations: 8.562 kB / 0.8119 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.7328, allocations: 2.438 kB / 0.8119 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.688e-05/0.7329, allocations: 3.938 kB / 0.8119 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.7329, allocations: 2.531 kB / 0.8119 GB, free: 10.16 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 7.885e-05/0.733, allocations: 119.6 kB / 0.812 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.733, allocations: 3.906 kB / 0.812 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.392e-05/0.733, allocations: 7.875 kB / 0.812 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.733, allocations: 0 / 0.812 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.733, allocations: 8.078 kB / 0.812 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.733, allocations: 6.312 kB / 0.8121 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/0.7333, allocations: 362.8 kB / 0.8124 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.7334, allocations: 3.938 kB / 0.8124 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.319e-05/0.7334, allocations: 2.875 kB / 0.8124 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.7334, allocations: 3.938 kB / 0.8124 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.7334, allocations: 3.375 kB / 0.8124 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7334, allocations: 2.719 kB / 0.8124 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7334, allocations: 2.578 kB / 0.8124 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.718e-05/0.7335, allocations: 71.66 kB / 0.8125 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.002e-05/0.7335, allocations: 82.59 kB / 0.8126 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.7336, allocations: 3.938 kB / 0.8126 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.773e-05/0.7336, allocations: 11.3 kB / 0.8126 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.7337, allocations: 2.781 kB / 0.8126 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-06/0.7337, allocations: 0 / 0.8126 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.729e-05/0.7337, allocations: 80.17 kB / 0.8127 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7337, allocations: 2.562 kB / 0.8127 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001957/0.7339, allocations: 9.188 kB / 0.8127 GB, free: 9.371 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.0001305/0.7341, allocations: 103.2 kB / 0.8128 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.645e-05/0.7342, allocations: 14.25 kB / 0.8128 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7342, allocations: 0 / 0.8128 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.217e-05/0.7342, allocations: 8.859 kB / 0.8128 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.7344, allocations: 4.938 kB / 0.8128 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003072/0.7348, allocations: 126.5 kB / 0.8129 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.735, allocations: 0.6753 MB / 0.8136 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.036e-05/0.7351, allocations: 10.08 kB / 0.8136 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.7351, allocations: 9.25 kB / 0.8136 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/0.7351, allocations: 0 / 0.8136 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of Templates: time 0.002995/0.7381, allocations: 0.5768 MB / 0.8142 GB, free: 8.402 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)