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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 182.8 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7077/0.7077, allocations: 133.3 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 222.9 MB / 404.7 MB, free: 5.996 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 99.64 kB / 485.9 MB, free: 7.133 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001013/0.001014, allocations: 55.91 kB / 0.5636 GB, free: 69.88 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1577, allocations: 80.43 MB / 0.6421 GB, free: 5.383 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4791/0.6369, allocations: 146 MB / 0.7847 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0001378/0.6371, allocations: 52.34 kB / 0.7848 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.795e-05/0.6371, allocations: 0 / 0.7848 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.6373, allocations: 3.938 kB / 0.7848 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 7.348e-05/0.6373, allocations: 14.77 kB / 0.7848 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000696/0.638, allocations: 204.8 kB / 0.785 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 8.962e-05/0.6381, allocations: 53.67 kB / 0.785 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.724e-05/0.6382, allocations: 3 kB / 0.785 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.983e-05/0.6382, allocations: 21.91 kB / 0.7851 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.725e-05/0.6383, allocations: 8.812 kB / 0.7851 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.6383, allocations: 4.406 kB / 0.7851 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004259/0.6388, allocations: 240.6 kB / 0.7853 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.366e-05/0.6388, allocations: 6.672 kB / 0.7853 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.103e-05/0.6388, allocations: 13.08 kB / 0.7853 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.6391, allocations: 127.8 kB / 0.7854 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.6391, allocations: 0 / 0.7854 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.52e-07/0.6391, allocations: 0 / 0.7854 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.6391, allocations: 0 / 0.7854 GB, free: 13.98 MB / 0.5261 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.0004143/0.6396, allocations: 347.1 kB / 0.7858 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.6396, allocations: 9.719 kB / 0.7858 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003147/0.6399, allocations: 27.62 kB / 0.7858 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.6401, allocations: 167.6 kB / 0.786 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.113e-05/0.6401, allocations: 29.64 kB / 0.786 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.729e-06/0.6402, allocations: 2.719 kB / 0.786 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.6403, allocations: 53.89 kB / 0.786 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.6403, allocations: 0 / 0.786 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.6403, allocations: 1.25 kB / 0.786 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.6404, allocations: 2.438 kB / 0.786 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.182e-05/0.6404, allocations: 28.53 kB / 0.7861 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003422/0.6408, allocations: 255.7 kB / 0.7863 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.138e-05/0.6408, allocations: 19.92 kB / 0.7863 GB, free: 13 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.227e-05/0.6409, allocations: 11.27 kB / 0.7864 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/0.641, allocations: 99.28 kB / 0.7864 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.6411, allocations: 33.03 kB / 0.7865 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.6411, allocations: 3.938 kB / 0.7865 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002258/0.6413, allocations: 50.28 kB / 0.7865 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.6413, allocations: 57.3 kB / 0.7866 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.749e-05/0.6414, allocations: 103.4 kB / 0.7867 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.6414, allocations: 29.83 kB / 0.7867 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.358e-05/0.6415, allocations: 90.55 kB / 0.7868 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.057e-06/0.6415, allocations: 7.891 kB / 0.7868 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.6415, allocations: 18.44 kB / 0.7868 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.6417, allocations: 310.8 kB / 0.7871 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.6417, allocations: 10.75 kB / 0.7871 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.759e-05/0.6417, allocations: 27.16 kB / 0.7872 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.811e-05/0.6418, allocations: 33.02 kB / 0.7872 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6418, allocations: 0 / 0.7872 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.566e-05/0.6418, allocations: 55 kB / 0.7872 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.6419, allocations: 4.5 kB / 0.7872 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.6419, allocations: 2.594 kB / 0.7872 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.6419, allocations: 96 / 0.7872 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.503e-05/0.642, allocations: 15.91 kB / 0.7873 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.642, allocations: 0 / 0.7873 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.982e-05/0.642, allocations: 7.875 kB / 0.7873 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.642, allocations: 6.203 kB / 0.7873 GB, free: 12.03 MB / 0.5261 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.917e-05/0.6421, allocations: 112.7 kB / 0.7874 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.6421, allocations: 1.781 kB / 0.7874 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.024e-05/0.6422, allocations: 3.125 kB / 0.7874 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.6422, allocations: 2.812 kB / 0.7874 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.6422, allocations: 0 / 0.7874 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.6422, allocations: 7.938 kB / 0.7874 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.6425, allocations: 368.2 kB / 0.7877 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6425, allocations: 0 / 0.7877 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.454e-05/0.6425, allocations: 4.875 kB / 0.7878 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.6425, allocations: 3.938 kB / 0.7878 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.6425, allocations: 0 / 0.7878 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.6425, allocations: 2.219 kB / 0.7878 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.6426, allocations: 4.062 kB / 0.7878 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.6429, allocations: 0.623 MB / 0.7884 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-05/0.6429, allocations: 77.11 kB / 0.7884 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.6429, allocations: 0 / 0.7884 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.126e-05/0.643, allocations: 8.875 kB / 0.7885 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/0.6431, allocations: 7.922 kB / 0.7885 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/0.6431, allocations: 0 / 0.7885 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.327e-05/0.6431, allocations: 80.44 kB / 0.7885 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1e-07/0.6431, allocations: 0 / 0.7885 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000282/0.6434, allocations: 10.97 kB / 0.7885 GB, free: 10.63 MB / 0.5261 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.0001243/0.6435, allocations: 105.6 kB / 0.7886 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.418e-05/0.6436, allocations: 18.14 kB / 0.7887 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6436, allocations: 3.938 kB / 0.7887 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.077e-05/0.6436, allocations: 6.5 kB / 0.7887 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.6439, allocations: 9.297 kB / 0.7887 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003489/0.6442, allocations: 227.3 kB / 0.7889 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.6445, allocations: 0.6745 MB / 0.7896 GB, free: 9.578 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.684e-05/0.6446, allocations: 13 kB / 0.7896 GB, free: 9.57 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.95e-05/0.6446, allocations: 7.438 kB / 0.7896 GB, free: 9.562 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/0.6446, allocations: 0 / 0.7896 GB, free: 9.562 MB / 0.5261 GB Notification: Performance of Templates: time 0.002364/0.647, allocations: 0.5583 MB / 0.7901 GB, free: 9.137 MB / 0.5261 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)