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.007736/0.007736, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001388/0.001388, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8504/0.8504, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.12 kB / 0.5813 GB, free: 23.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1563, allocations: 80.21 MB / 0.6596 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.6278/0.7842, allocations: 148.3 MB / 0.8044 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001428/0.7844, allocations: 52.59 kB / 0.8045 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.605e-05/0.7844, allocations: 1.406 kB / 0.8045 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.7845, allocations: 10.16 kB / 0.8045 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.843e-05/0.7847, allocations: 14.73 kB / 0.8045 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007503/0.7854, allocations: 215.6 kB / 0.8047 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.721e-05/0.7855, allocations: 36.45 kB / 0.8048 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.392e-05/0.7855, allocations: 4.297 kB / 0.8048 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.423e-05/0.7856, allocations: 17 kB / 0.8048 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.451e-05/0.7857, allocations: 15.06 kB / 0.8048 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.7857, allocations: 1.25 kB / 0.8048 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004204/0.7861, allocations: 195.9 kB / 0.805 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.603e-05/0.7862, allocations: 17.42 kB / 0.805 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.124e-05/0.7862, allocations: 7.875 kB / 0.805 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.7864, allocations: 117.7 kB / 0.8051 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.7865, allocations: 0 / 0.8051 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7865, allocations: 1.406 kB / 0.8051 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.7865, allocations: 0 / 0.8051 GB, free: 12.38 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.0004442/0.7869, allocations: 340.9 kB / 0.8055 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.787, allocations: 9.312 kB / 0.8055 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003076/0.7873, allocations: 29.58 kB / 0.8055 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.7874, allocations: 169.8 kB / 0.8056 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.684e-05/0.7875, allocations: 32.2 kB / 0.8057 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.7875, allocations: 5 kB / 0.8057 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.7877, allocations: 48.95 kB / 0.8057 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.7877, allocations: 0 / 0.8057 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.7877, allocations: 1.875 kB / 0.8057 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/0.7877, allocations: 2.625 kB / 0.8057 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.209e-05/0.7878, allocations: 24.41 kB / 0.8058 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.7881, allocations: 261.8 kB / 0.806 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 5.477e-05/0.7882, allocations: 25.92 kB / 0.806 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.078e-05/0.7882, allocations: 11.23 kB / 0.806 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001595/0.7884, allocations: 89.92 kB / 0.8061 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.7884, allocations: 35.84 kB / 0.8062 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.7884, allocations: 0 / 0.8062 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0002374/0.7887, allocations: 47.3 kB / 0.8062 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.7887, allocations: 52.62 kB / 0.8063 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.287e-05/0.7888, allocations: 111.2 kB / 0.8064 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.7888, allocations: 27.14 kB / 0.8064 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.665e-05/0.7889, allocations: 92.7 kB / 0.8065 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.234e-06/0.7889, allocations: 8.031 kB / 0.8065 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.7889, allocations: 19.27 kB / 0.8065 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.7891, allocations: 313 kB / 0.8068 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.57e-05/0.7891, allocations: 2.969 kB / 0.8068 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.869e-05/0.7891, allocations: 26.62 kB / 0.8068 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.903e-05/0.7892, allocations: 35.3 kB / 0.8069 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7892, allocations: 0.8438 kB / 0.8069 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.788e-05/0.7893, allocations: 50.73 kB / 0.8069 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.7893, allocations: 10.19 kB / 0.8069 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.7893, allocations: 1.344 kB / 0.8069 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.7893, allocations: 0 / 0.8069 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.724e-05/0.7894, allocations: 5.906 kB / 0.8069 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.7894, allocations: 1.25 kB / 0.8069 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.375e-05/0.7894, allocations: 21.34 kB / 0.807 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.7894, allocations: 1.438 kB / 0.807 GB, free: 10.54 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 8.484e-05/0.7895, allocations: 112.5 kB / 0.8071 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.7896, allocations: 1.5 kB / 0.8071 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.625e-05/0.7896, allocations: 6.375 kB / 0.8071 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.7896, allocations: 1.062 kB / 0.8071 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.7896, allocations: 0 / 0.8071 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.7896, allocations: 7.297 kB / 0.8071 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.7899, allocations: 364.9 kB / 0.8074 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.79, allocations: 1.406 kB / 0.8074 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.582e-05/0.79, allocations: 6.625 kB / 0.8074 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.79, allocations: 7.922 kB / 0.8074 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.79, allocations: 1.344 kB / 0.8074 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.79, allocations: 1.469 kB / 0.8074 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.79, allocations: 6.562 kB / 0.8075 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.284e-05/0.7901, allocations: 72 kB / 0.8075 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.644e-05/0.7902, allocations: 84.27 kB / 0.8076 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.7902, allocations: 8.531 kB / 0.8076 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.797e-05/0.7903, allocations: 4.469 kB / 0.8076 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.292e-05/0.7903, allocations: 1.625 kB / 0.8076 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.7903, allocations: 0.9062 kB / 0.8076 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.123e-05/0.7904, allocations: 82.19 kB / 0.8077 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7904, allocations: 4 kB / 0.8077 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000197/0.7906, allocations: 10.53 kB / 0.8077 GB, free: 9.754 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.0001296/0.7907, allocations: 95.5 kB / 0.8078 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.5e-05/0.7908, allocations: 18.77 kB / 0.8078 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7908, allocations: 1.594 kB / 0.8078 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.435e-05/0.7908, allocations: 13.62 kB / 0.8078 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.7911, allocations: 3.906 kB / 0.8078 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002554/0.7913, allocations: 112.1 kB / 0.8079 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.7916, allocations: 0.6763 MB / 0.8086 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.166e-05/0.7916, allocations: 9.188 kB / 0.8086 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.298e-05/0.7917, allocations: 10.12 kB / 0.8086 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/0.7917, allocations: 0 / 0.8086 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of Templates: time 0.002675/0.7944, allocations: 0.5764 MB / 0.8092 GB, free: 8.785 MB / 0.5919 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)