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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.404/1.404, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7636/0.7636, allocations: 132.2 MB / 422.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 68.52 kB / 0.5018 GB, free: 3.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.429/0.4303, allocations: 80.21 MB / 0.5801 GB, free: 4.512 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1822/0.6125, allocations: 148.3 MB / 0.7249 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001878/0.6128, allocations: 55.86 kB / 0.7249 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.513e-05/0.6128, allocations: 0 / 0.7249 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.613, allocations: 3.984 kB / 0.7249 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.714e-05/0.6131, allocations: 11.94 kB / 0.7249 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.6141, allocations: 214.1 kB / 0.7251 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.6143, allocations: 35.86 kB / 0.7252 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.146e-05/0.6143, allocations: 3.984 kB / 0.7252 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.52e-05/0.6144, allocations: 19.98 kB / 0.7252 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.032e-05/0.6145, allocations: 15.86 kB / 0.7252 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.6145, allocations: 0 / 0.7252 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000557/0.6151, allocations: 191.5 kB / 0.7254 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.407e-05/0.6151, allocations: 11.98 kB / 0.7254 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.6152, allocations: 7.938 kB / 0.7254 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003056/0.6155, allocations: 113.8 kB / 0.7255 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6155, allocations: 4 kB / 0.7255 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6155, allocations: 0 / 0.7255 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.6155, allocations: 0 / 0.7255 GB, free: 12.02 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.0004687/0.616, allocations: 351.3 kB / 0.7259 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.616, allocations: 12.03 kB / 0.7259 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003452/0.6164, allocations: 20.91 kB / 0.7259 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.6165, allocations: 164.4 kB / 0.7261 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-05/0.6166, allocations: 33.64 kB / 0.7261 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.6166, allocations: 4 kB / 0.7261 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.6168, allocations: 49.66 kB / 0.7261 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.6168, allocations: 4 kB / 0.7261 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.6168, allocations: 4 kB / 0.7261 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.115e-05/0.6168, allocations: 7.922 kB / 0.7262 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.644e-05/0.6169, allocations: 19.98 kB / 0.7262 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/0.6173, allocations: 264.9 kB / 0.7264 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.52e-05/0.6174, allocations: 22.58 kB / 0.7264 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.135e-05/0.6174, allocations: 4.859 kB / 0.7264 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001786/0.6176, allocations: 97.16 kB / 0.7265 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.6176, allocations: 34.5 kB / 0.7266 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.6176, allocations: 4 kB / 0.7266 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002758/0.6179, allocations: 53.59 kB / 0.7266 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.618, allocations: 51.41 kB / 0.7267 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.049e-05/0.6181, allocations: 105.8 kB / 0.7268 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.6181, allocations: 25.7 kB / 0.7268 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/0.6182, allocations: 91.98 kB / 0.7269 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.013e-05/0.6182, allocations: 7.891 kB / 0.7269 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/0.6182, allocations: 21.84 kB / 0.7269 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.6184, allocations: 314.8 kB / 0.7272 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.6184, allocations: 4 kB / 0.7272 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.077e-05/0.6184, allocations: 30.5 kB / 0.7273 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.059e-05/0.6185, allocations: 30.58 kB / 0.7273 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.6185, allocations: 0 / 0.7273 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001012/0.6186, allocations: 57.62 kB / 0.7273 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.6186, allocations: 4 kB / 0.7273 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.6187, allocations: 0 / 0.7273 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.6187, allocations: 0 / 0.7273 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.859e-05/0.6188, allocations: 11.94 kB / 0.7274 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.6188, allocations: 11.86 kB / 0.7274 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.856e-05/0.6188, allocations: 0 / 0.7274 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.6188, allocations: 4 kB / 0.7274 GB, free: 9.875 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 9.093e-05/0.6189, allocations: 117.9 kB / 0.7275 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.6189, allocations: 4 kB / 0.7275 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.412e-05/0.619, allocations: 3.125 kB / 0.7275 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.619, allocations: 0 / 0.7275 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.619, allocations: 3.938 kB / 0.7275 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.619, allocations: 0 / 0.7275 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/0.6193, allocations: 371.5 kB / 0.7278 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.6193, allocations: 0 / 0.7278 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.721e-05/0.6194, allocations: 4 kB / 0.7278 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.6194, allocations: 3.938 kB / 0.7279 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.6194, allocations: 0 / 0.7279 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.6194, allocations: 0 / 0.7279 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.6194, allocations: 4 kB / 0.7279 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.544e-05/0.6195, allocations: 77.98 kB / 0.7279 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.359e-05/0.6195, allocations: 85.05 kB / 0.728 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.6196, allocations: 4 kB / 0.728 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.411e-05/0.6197, allocations: 3.984 kB / 0.728 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.723e-05/0.6197, allocations: 4 kB / 0.728 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.6197, allocations: 4 kB / 0.728 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.097e-05/0.6197, allocations: 79.56 kB / 0.7281 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6197, allocations: 0 / 0.7281 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001989/0.6199, allocations: 8 kB / 0.7281 GB, free: 9 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.000158/0.6201, allocations: 107.4 kB / 0.7282 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.589e-05/0.6202, allocations: 11.94 kB / 0.7282 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.6202, allocations: 0 / 0.7282 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.127e-05/0.6202, allocations: 4 kB / 0.7282 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.6205, allocations: 14.59 kB / 0.7282 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.6208, allocations: 143.2 kB / 0.7284 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.6211, allocations: 0.6729 MB / 0.729 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.465e-05/0.6212, allocations: 15.97 kB / 0.7291 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.53e-05/0.6212, allocations: 11.44 kB / 0.7291 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of SimCode: time 3.066e-06/0.6212, allocations: 0 / 0.7291 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of Templates: time 0.003018/0.6243, allocations: 0.5639 MB / 0.7296 GB, free: 7.402 MB / 0.5606 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)