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.001688/0.001688, allocations: 113.3 kB / 16.41 MB, free: 6.457 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.001497/0.001497, allocations: 185.5 kB / 17.34 MB, free: 5.723 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.493/1.493, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8072/0.8072, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 66.33 kB / 0.582 GB, free: 23.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.172, allocations: 80.22 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5142/0.6863, allocations: 148.3 MB / 0.8051 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001593/0.6865, allocations: 60.17 kB / 0.8052 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.71e-05/0.6866, allocations: 1.344 kB / 0.8052 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.6867, allocations: 3.938 kB / 0.8052 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.881e-05/0.6868, allocations: 21.72 kB / 0.8052 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008376/0.6877, allocations: 207.3 kB / 0.8054 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.6878, allocations: 36.83 kB / 0.8054 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.854e-05/0.6879, allocations: 1.25 kB / 0.8054 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.231e-05/0.6879, allocations: 15.11 kB / 0.8054 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.858e-05/0.688, allocations: 15.94 kB / 0.8055 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.688, allocations: 0 / 0.8055 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004549/0.6885, allocations: 201.8 kB / 0.8056 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.44e-05/0.6885, allocations: 11.64 kB / 0.8057 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.322e-05/0.6886, allocations: 11.47 kB / 0.8057 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.6889, allocations: 108.9 kB / 0.8058 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.6889, allocations: 2.578 kB / 0.8058 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6889, allocations: 3.938 kB / 0.8058 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.6889, allocations: 0 / 0.8058 GB, free: 11.9 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.0004279/0.6893, allocations: 342.5 kB / 0.8061 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.6894, allocations: 9.906 kB / 0.8061 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003393/0.6897, allocations: 32.28 kB / 0.8061 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.6899, allocations: 164.3 kB / 0.8063 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.315e-05/0.6899, allocations: 30.8 kB / 0.8063 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.6899, allocations: 1.094 kB / 0.8063 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.6901, allocations: 49.52 kB / 0.8064 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.6901, allocations: 9.859 kB / 0.8064 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.6901, allocations: 0 / 0.8064 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.6902, allocations: 2.781 kB / 0.8064 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.227e-05/0.6902, allocations: 24.88 kB / 0.8064 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003565/0.6906, allocations: 257.5 kB / 0.8067 GB, free: 11 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 5.484e-05/0.6906, allocations: 20.42 kB / 0.8067 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.124e-05/0.6907, allocations: 14.64 kB / 0.8067 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001567/0.6908, allocations: 91.27 kB / 0.8068 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.6909, allocations: 31.44 kB / 0.8068 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.6909, allocations: 2.062 kB / 0.8068 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0002594/0.6912, allocations: 52.48 kB / 0.8069 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.6912, allocations: 56.62 kB / 0.8069 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.795e-05/0.6913, allocations: 105.2 kB / 0.807 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.6913, allocations: 29.39 kB / 0.807 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.531e-05/0.6914, allocations: 90.3 kB / 0.8071 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.03e-05/0.6914, allocations: 6.75 kB / 0.8071 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.6914, allocations: 16.09 kB / 0.8072 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.6915, allocations: 314.5 kB / 0.8075 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/0.6916, allocations: 6.688 kB / 0.8075 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.114e-05/0.6916, allocations: 26.16 kB / 0.8075 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.371e-05/0.6917, allocations: 29.92 kB / 0.8075 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6917, allocations: 0 / 0.8075 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.726e-05/0.6918, allocations: 56.95 kB / 0.8076 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.6918, allocations: 9.906 kB / 0.8076 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.6918, allocations: 1.281 kB / 0.8076 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.6918, allocations: 1.25 kB / 0.8076 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.832e-05/0.6919, allocations: 7.078 kB / 0.8076 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.6919, allocations: 1.281 kB / 0.8076 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.442e-05/0.6919, allocations: 9 kB / 0.8076 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.692, allocations: 2.75 kB / 0.8076 GB, free: 10.08 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.84e-05/0.692, allocations: 112.1 kB / 0.8077 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.6921, allocations: 7.484 kB / 0.8077 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.452e-05/0.6921, allocations: 11.88 kB / 0.8077 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.6921, allocations: 0 / 0.8077 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6921, allocations: 1.5 kB / 0.8077 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.6921, allocations: 7.875 kB / 0.8077 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.6924, allocations: 360.9 kB / 0.8081 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.6924, allocations: 1.188 kB / 0.8081 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.125e-05/0.6925, allocations: 9.5 kB / 0.8081 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.6925, allocations: 5.188 kB / 0.8081 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.6925, allocations: 4.969 kB / 0.8081 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.6925, allocations: 1.062 kB / 0.8081 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.6925, allocations: 0 / 0.8081 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.19e-05/0.6926, allocations: 69.86 kB / 0.8082 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.578e-05/0.6927, allocations: 82.2 kB / 0.8082 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.6927, allocations: 10.42 kB / 0.8083 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.803e-05/0.6928, allocations: 6.312 kB / 0.8083 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.6928, allocations: 6.891 kB / 0.8083 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.6928, allocations: 2.25 kB / 0.8083 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.075e-05/0.6929, allocations: 84.17 kB / 0.8083 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6929, allocations: 0 / 0.8083 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002009/0.6931, allocations: 6.688 kB / 0.8084 GB, free: 9.285 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.0001177/0.6932, allocations: 100.6 kB / 0.8084 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.871e-05/0.6933, allocations: 18.98 kB / 0.8085 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6933, allocations: 1.062 kB / 0.8085 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.061e-05/0.6933, allocations: 3.688 kB / 0.8085 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.6936, allocations: 9.281 kB / 0.8085 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002879/0.6939, allocations: 143.3 kB / 0.8086 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.6941, allocations: 0.6772 MB / 0.8093 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.6941, allocations: 12.94 kB / 0.8093 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.6941, allocations: 0 / 0.8093 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of Templates: time 0.002018/0.6962, allocations: 0.618 MB / 0.8099 GB, free: 8.309 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)