Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00134/0.00134, allocations: 182.2 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/package.mo): time 0.7904/0.7904, allocations: 132.2 MB / 148.9 MB, free: 12.16 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.443/1.443, allocations: 222.9 MB / 403.3 MB, free: 7.105 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.001034/0.001034, allocations: 111.2 kB / 484.3 MB, free: 8.711 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009798/0.0009799, allocations: 51.92 kB / 0.5618 GB, free: 71.08 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1441, allocations: 80.22 MB / 0.6402 GB, free: 6.797 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4777/0.6219, allocations: 146 MB / 0.7827 GB, free: 284 kB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.000148/0.6221, allocations: 60.22 kB / 0.7828 GB, free: 240 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.327e-05/0.6222, allocations: 0 / 0.7828 GB, free: 240 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.6223, allocations: 4 kB / 0.7828 GB, free: 236 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 9.096e-05/0.6224, allocations: 17.17 kB / 0.7828 GB, free: 224 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008414/0.6233, allocations: 199.2 kB / 0.783 GB, free: 92 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.6234, allocations: 58.05 kB / 0.7831 GB, free: 64 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.788e-05/0.6235, allocations: 0 / 0.7831 GB, free: 64 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.961e-05/0.6235, allocations: 25.62 kB / 0.7831 GB, free: 48 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.079e-05/0.6236, allocations: 11.62 kB / 0.7831 GB, free: 44 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.6236, allocations: 2.25 kB / 0.7831 GB, free: 44 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005055/0.6241, allocations: 232.5 kB / 0.7833 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.897e-05/0.6242, allocations: 6.047 kB / 0.7833 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.036e-05/0.6242, allocations: 17.33 kB / 0.7833 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003058/0.6245, allocations: 123.9 kB / 0.7835 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.6245, allocations: 2.406 kB / 0.7835 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6246, allocations: 0 / 0.7835 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.6246, allocations: 0 / 0.7835 GB, free: 15.83 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.0004647/0.625, allocations: 354.6 kB / 0.7838 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.6251, allocations: 10.56 kB / 0.7838 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003294/0.6254, allocations: 21.28 kB / 0.7838 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.6256, allocations: 170.6 kB / 0.784 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.835e-05/0.6256, allocations: 32.55 kB / 0.784 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.637e-06/0.6256, allocations: 0 / 0.784 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.6258, allocations: 54.52 kB / 0.7841 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.6258, allocations: 0 / 0.7841 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.6258, allocations: 0 / 0.7841 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.6259, allocations: 2.125 kB / 0.7841 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.268e-05/0.6259, allocations: 20.67 kB / 0.7841 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.6263, allocations: 258.7 kB / 0.7843 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.174e-05/0.6264, allocations: 25.23 kB / 0.7844 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.957e-05/0.6264, allocations: 13.77 kB / 0.7844 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001551/0.6266, allocations: 90.91 kB / 0.7845 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.6266, allocations: 34.56 kB / 0.7845 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.6266, allocations: 3.938 kB / 0.7845 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002562/0.6269, allocations: 52.22 kB / 0.7846 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.6269, allocations: 59.47 kB / 0.7846 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.627, allocations: 103.7 kB / 0.7847 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.6271, allocations: 27.83 kB / 0.7847 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.123e-05/0.6271, allocations: 91.98 kB / 0.7848 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.819e-06/0.6271, allocations: 6.5 kB / 0.7848 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.6272, allocations: 19.83 kB / 0.7849 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.6273, allocations: 313.4 kB / 0.7852 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.685e-05/0.6273, allocations: 2.844 kB / 0.7852 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.259e-05/0.6274, allocations: 31.38 kB / 0.7852 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.148e-05/0.6274, allocations: 30.33 kB / 0.7852 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6274, allocations: 0 / 0.7852 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.585e-05/0.6275, allocations: 58.78 kB / 0.7853 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.6275, allocations: 6.156 kB / 0.7853 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.6275, allocations: 0 / 0.7853 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.6276, allocations: 2.219 kB / 0.7853 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.761e-05/0.6276, allocations: 5.156 kB / 0.7853 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.6276, allocations: 3.938 kB / 0.7853 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.252e-05/0.6277, allocations: 6.625 kB / 0.7853 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.6277, allocations: 2.562 kB / 0.7853 GB, free: 13.87 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.387e-05/0.6278, allocations: 109.7 kB / 0.7854 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.6278, allocations: 12.02 kB / 0.7854 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/0.6278, allocations: 4.906 kB / 0.7854 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.6278, allocations: 0 / 0.7854 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.6279, allocations: 0 / 0.7854 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.6279, allocations: 3.938 kB / 0.7854 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002988/0.6282, allocations: 373.7 kB / 0.7858 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.6282, allocations: 0 / 0.7858 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.602e-05/0.6282, allocations: 2.781 kB / 0.7858 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.6282, allocations: 8.281 kB / 0.7858 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.6282, allocations: 2.125 kB / 0.7858 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6282, allocations: 3.938 kB / 0.7858 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6282, allocations: 0 / 0.7858 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.6286, allocations: 0.6188 MB / 0.7864 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.242e-05/0.6287, allocations: 85.08 kB / 0.7865 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.6287, allocations: 2.844 kB / 0.7865 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.014e-05/0.6288, allocations: 2.438 kB / 0.7865 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.163e-05/0.6288, allocations: 0 / 0.7865 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.6288, allocations: 2.406 kB / 0.7865 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.131e-05/0.6289, allocations: 85.27 kB / 0.7866 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6289, allocations: 2.906 kB / 0.7866 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002883/0.6292, allocations: 8.812 kB / 0.7866 GB, free: 12.46 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.6293, allocations: 104.8 kB / 0.7867 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.82e-05/0.6294, allocations: 21.73 kB / 0.7867 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.6294, allocations: 0 / 0.7867 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.578e-06/0.6294, allocations: 2.625 kB / 0.7867 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.6296, allocations: 4.656 kB / 0.7867 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003372/0.63, allocations: 235.8 kB / 0.7869 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.6302, allocations: 0.678 MB / 0.7876 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.261e-05/0.6303, allocations: 12.39 kB / 0.7876 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.348e-05/0.6303, allocations: 10.31 kB / 0.7876 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of SimCode: time 3.6e-07/0.6303, allocations: 0 / 0.7876 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of Templates: time 0.002646/0.633, allocations: 0.5461 MB / 0.7881 GB, free: 11.12 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)