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.001287/0.001287, allocations: 105.3 kB / 16.27 MB, free: 6.414 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.001211/0.001211, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.333/1.333, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8181/0.8181, allocations: 135.2 MB / 426.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 67.89 kB / 0.506 GB, free: 8.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3536, allocations: 80.91 MB / 0.585 GB, free: 25.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1699/0.5236, allocations: 148.3 MB / 0.7298 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001652/0.5238, allocations: 55.8 kB / 0.7299 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.627e-05/0.5238, allocations: 0 / 0.7299 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.524, allocations: 11.92 kB / 0.7299 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.935e-05/0.5241, allocations: 12 kB / 0.7299 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007769/0.5249, allocations: 211.2 kB / 0.7301 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.134e-05/0.5249, allocations: 27.92 kB / 0.7301 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.505e-05/0.525, allocations: 7.984 kB / 0.7301 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.008e-05/0.525, allocations: 19.92 kB / 0.7302 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.895e-05/0.5251, allocations: 15.92 kB / 0.7302 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.5251, allocations: 0 / 0.7302 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004277/0.5256, allocations: 191.5 kB / 0.7304 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.351e-05/0.5256, allocations: 7.984 kB / 0.7304 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.393e-05/0.5257, allocations: 15.92 kB / 0.7304 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.5259, allocations: 109.8 kB / 0.7305 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5259, allocations: 0 / 0.7305 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.442e-06/0.5259, allocations: 0 / 0.7305 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.5259, allocations: 0 / 0.7305 GB, free: 5.102 MB / 0.5606 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.0005175/0.5265, allocations: 351.4 kB / 0.7308 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.5265, allocations: 13.05 kB / 0.7308 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003364/0.5269, allocations: 28.91 kB / 0.7309 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.527, allocations: 164.4 kB / 0.731 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.744e-05/0.5271, allocations: 33.64 kB / 0.7311 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.5271, allocations: 3.938 kB / 0.7311 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.5273, allocations: 57.61 kB / 0.7311 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.5273, allocations: 0 / 0.7311 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.5273, allocations: 0 / 0.7311 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.5273, allocations: 4 kB / 0.7311 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.766e-05/0.5274, allocations: 19.98 kB / 0.7311 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004015/0.5278, allocations: 256.9 kB / 0.7314 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.083e-05/0.5279, allocations: 18.58 kB / 0.7314 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.951e-05/0.5279, allocations: 16.92 kB / 0.7314 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001657/0.5281, allocations: 93.03 kB / 0.7315 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.5281, allocations: 34.56 kB / 0.7315 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.5281, allocations: 0 / 0.7315 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002424/0.5284, allocations: 53.7 kB / 0.7316 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.5284, allocations: 59.41 kB / 0.7316 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.224e-05/0.5285, allocations: 105.8 kB / 0.7317 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.5285, allocations: 25.7 kB / 0.7318 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.639e-05/0.5286, allocations: 91.98 kB / 0.7319 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.077e-05/0.5286, allocations: 7.906 kB / 0.7319 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.5287, allocations: 17.7 kB / 0.7319 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.5288, allocations: 314.8 kB / 0.7322 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.263e-05/0.5288, allocations: 11.94 kB / 0.7322 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.959e-05/0.5289, allocations: 22.56 kB / 0.7322 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.75e-05/0.5289, allocations: 26.58 kB / 0.7322 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5289, allocations: 0 / 0.7322 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.65e-05/0.529, allocations: 57.69 kB / 0.7323 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.529, allocations: 8 kB / 0.7323 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.529, allocations: 0 / 0.7323 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.5291, allocations: 0 / 0.7323 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.91e-05/0.5291, allocations: 11.94 kB / 0.7323 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.5291, allocations: 3.938 kB / 0.7323 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.132e-05/0.5292, allocations: 8 kB / 0.7323 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.5292, allocations: 4 kB / 0.7323 GB, free: 2.953 MB / 0.5606 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.679e-05/0.5293, allocations: 109.8 kB / 0.7324 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.5293, allocations: 8.031 kB / 0.7324 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.159e-05/0.5293, allocations: 7.125 kB / 0.7324 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.5293, allocations: 3.938 kB / 0.7324 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.5294, allocations: 3.938 kB / 0.7325 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.5294, allocations: 0 / 0.7325 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004231/0.5298, allocations: 367.4 kB / 0.7328 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.5298, allocations: 0 / 0.7328 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.328e-05/0.5298, allocations: 0 / 0.7328 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.5299, allocations: 12 kB / 0.7328 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.5299, allocations: 0 / 0.7328 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.5299, allocations: 0 / 0.7328 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.5299, allocations: 0 / 0.7328 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.53, allocations: 81.92 kB / 0.7329 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.871e-05/0.53, allocations: 81.05 kB / 0.733 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.5301, allocations: 0 / 0.733 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.597e-05/0.5302, allocations: 12.02 kB / 0.733 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.637e-05/0.5302, allocations: 0 / 0.733 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.5302, allocations: 4 kB / 0.733 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.263e-05/0.5303, allocations: 83.28 kB / 0.7331 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5303, allocations: 0 / 0.7331 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001919/0.5305, allocations: 4 kB / 0.7331 GB, free: 2.082 MB / 0.5606 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.0001385/0.5306, allocations: 109.5 kB / 0.7332 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.453e-05/0.5307, allocations: 15.94 kB / 0.7332 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5307, allocations: 0 / 0.7332 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.121e-05/0.5307, allocations: 4 kB / 0.7332 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.531, allocations: 9.656 kB / 0.7332 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000313/0.5313, allocations: 165.2 kB / 0.7334 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.5316, allocations: 0.6768 MB / 0.734 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/0.5317, allocations: 11.44 kB / 0.734 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.5317, allocations: 0 / 0.734 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of Templates: time 0.002138/0.5338, allocations: 0.6171 MB / 0.7346 GB, free: 424 kB / 0.5606 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)