Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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: "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006715/0.006715, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.00147/0.00147, allocations: 202.1 kB / 16.68 MB, free: 5.926 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7982/0.7982, allocations: 135.1 MB / 425.7 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 60.75 kB / 0.5851 GB, free: 22.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.19, allocations: 80.92 MB / 0.6642 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5159/0.7059, allocations: 147.8 MB / 0.8085 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001308/0.7061, allocations: 59.56 kB / 0.8086 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.401e-05/0.7062, allocations: 0 / 0.8086 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.7063, allocations: 0 / 0.8086 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.483e-05/0.7064, allocations: 13.27 kB / 0.8086 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.7069, allocations: 107.1 kB / 0.8087 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.137e-05/0.707, allocations: 33.42 kB / 0.8087 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.962e-05/0.707, allocations: 6.906 kB / 0.8087 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.528e-05/0.7071, allocations: 15.31 kB / 0.8088 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.944e-05/0.7072, allocations: 18.75 kB / 0.8088 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.7072, allocations: 2.75 kB / 0.8088 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002236/0.7074, allocations: 81.72 kB / 0.8089 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.596e-05/0.7075, allocations: 10.89 kB / 0.8089 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.7075, allocations: 9.719 kB / 0.8089 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.7076, allocations: 72.81 kB / 0.8089 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7076, allocations: 0 / 0.8089 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7077, allocations: 0 / 0.8089 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.7077, allocations: 0 / 0.8089 GB, free: 11.19 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.0004266/0.7081, allocations: 348.2 kB / 0.8093 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.161e-05/0.7082, allocations: 11.67 kB / 0.8093 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.086e-05/0.7082, allocations: 33.33 kB / 0.8093 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002251/0.7084, allocations: 21.28 kB / 0.8093 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.7086, allocations: 165.5 kB / 0.8095 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.994e-05/0.7087, allocations: 33.19 kB / 0.8095 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.295e-06/0.7087, allocations: 5.25 kB / 0.8095 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.7088, allocations: 51.92 kB / 0.8096 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.7088, allocations: 0 / 0.8096 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.7089, allocations: 0 / 0.8096 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.7089, allocations: 2.688 kB / 0.8096 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.697e-05/0.7089, allocations: 18.16 kB / 0.8096 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.7094, allocations: 259.4 kB / 0.8099 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.913e-05/0.7094, allocations: 18.86 kB / 0.8099 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.227e-05/0.7094, allocations: 10.2 kB / 0.8099 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.102e-06/0.7094, allocations: 1.375 kB / 0.8099 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.7095, allocations: 30.56 kB / 0.8099 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.7095, allocations: 1.281 kB / 0.8099 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001377/0.7096, allocations: 34.98 kB / 0.8099 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.7097, allocations: 59.47 kB / 0.81 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.728e-05/0.7098, allocations: 108.9 kB / 0.8101 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.7098, allocations: 26.83 kB / 0.8101 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.22e-05/0.7099, allocations: 95.72 kB / 0.8102 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.258e-06/0.7099, allocations: 1.062 kB / 0.8102 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.7099, allocations: 16.75 kB / 0.8102 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.71, allocations: 314.5 kB / 0.8105 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.111e-05/0.7101, allocations: 10.94 kB / 0.8106 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.88e-05/0.7101, allocations: 29.06 kB / 0.8106 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.438e-05/0.7102, allocations: 33.84 kB / 0.8106 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7102, allocations: 0 / 0.8106 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.05e-05/0.7103, allocations: 57.62 kB / 0.8107 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.7103, allocations: 6.656 kB / 0.8107 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.7103, allocations: 0 / 0.8107 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.7103, allocations: 7.672 kB / 0.8107 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.999e-05/0.7104, allocations: 10.16 kB / 0.8107 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.7104, allocations: 7.828 kB / 0.8107 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.803e-05/0.7104, allocations: 9.531 kB / 0.8107 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-06/0.7104, allocations: 2.688 kB / 0.8107 GB, free: 9.395 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 7.875e-05/0.7105, allocations: 111.8 kB / 0.8108 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.7106, allocations: 6.156 kB / 0.8108 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.027e-05/0.7106, allocations: 6.25 kB / 0.8108 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.7106, allocations: 0 / 0.8108 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.7106, allocations: 5.531 kB / 0.8108 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.7106, allocations: 2.125 kB / 0.8108 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002728/0.7109, allocations: 345.2 kB / 0.8112 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.7109, allocations: 0 / 0.8112 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.273e-05/0.7109, allocations: 1.594 kB / 0.8112 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.7109, allocations: 3.938 kB / 0.8112 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.7109, allocations: 5.719 kB / 0.8112 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.7109, allocations: 0 / 0.8112 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.711, allocations: 0 / 0.8112 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.873e-05/0.711, allocations: 57.33 kB / 0.8112 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.111e-05/0.7111, allocations: 86.55 kB / 0.8113 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.7111, allocations: 2.641 kB / 0.8113 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.241e-05/0.7112, allocations: 6.188 kB / 0.8113 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.212e-05/0.7112, allocations: 4.031 kB / 0.8113 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.7112, allocations: 3.688 kB / 0.8113 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.617e-05/0.7113, allocations: 87 kB / 0.8114 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7113, allocations: 3.938 kB / 0.8114 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001818/0.7115, allocations: 7.375 kB / 0.8114 GB, free: 8.633 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0003518/0.7118, allocations: 0.5963 MB / 0.812 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.872e-05/0.7119, allocations: 14.84 kB / 0.812 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.7119, allocations: 2.062 kB / 0.812 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.22e-06/0.7119, allocations: 2.094 kB / 0.812 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.7122, allocations: 7.5 kB / 0.812 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003895/0.7126, allocations: 132.9 kB / 0.8122 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.7129, allocations: 0.6777 MB / 0.8128 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.644e-05/0.713, allocations: 7.469 kB / 0.8128 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.261e-05/0.713, allocations: 7.438 kB / 0.8128 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of SimCode: time 2.61e-07/0.713, allocations: 3.938 kB / 0.8128 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01621/0.7292, allocations: 1.367 MB / 0.8142 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.19/7.919, allocations: 8.328 kB / 0.8142 GB, free: 6.84 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)