Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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: "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_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.006372/0.006372, allocations: 98.72 kB / 15.73 MB, free: 6.062 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.001495/0.001495, allocations: 193.4 kB / 16.67 MB, free: 5.973 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8369/0.8369, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 70.3 kB / 0.5809 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1467, allocations: 80.2 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4562/0.6029, allocations: 147.8 MB / 0.8036 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.000137/0.6031, allocations: 55.12 kB / 0.8036 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.245e-05/0.6031, allocations: 0 / 0.8036 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.6032, allocations: 2.578 kB / 0.8036 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.063e-05/0.6033, allocations: 14.77 kB / 0.8036 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004955/0.6038, allocations: 109.8 kB / 0.8037 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.991e-05/0.6039, allocations: 32.14 kB / 0.8038 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.106e-05/0.604, allocations: 3.516 kB / 0.8038 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.62e-05/0.604, allocations: 22.16 kB / 0.8038 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.845e-05/0.6041, allocations: 10.67 kB / 0.8038 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.6041, allocations: 1.375 kB / 0.8038 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002756/0.6044, allocations: 81.73 kB / 0.8039 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.815e-05/0.6045, allocations: 9.047 kB / 0.8039 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.6045, allocations: 13.88 kB / 0.8039 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.6047, allocations: 76.11 kB / 0.804 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.6047, allocations: 4 kB / 0.804 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6047, allocations: 0 / 0.804 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.6048, allocations: 0 / 0.804 GB, free: 11.29 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.0004465/0.6052, allocations: 341 kB / 0.8043 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.6053, allocations: 9.5 kB / 0.8043 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.803e-05/0.6053, allocations: 35.16 kB / 0.8044 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000213/0.6055, allocations: 17.83 kB / 0.8044 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.6057, allocations: 167.4 kB / 0.8045 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.263e-05/0.6058, allocations: 31.89 kB / 0.8046 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.6058, allocations: 7.25 kB / 0.8046 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.6059, allocations: 50.3 kB / 0.8046 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.6059, allocations: 2.484 kB / 0.8046 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.606, allocations: 3.188 kB / 0.8046 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.606, allocations: 1.188 kB / 0.8046 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.245e-05/0.606, allocations: 18.67 kB / 0.8046 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.6064, allocations: 268.6 kB / 0.8049 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.799e-05/0.6065, allocations: 21.88 kB / 0.8049 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.844e-05/0.6065, allocations: 6.141 kB / 0.8049 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.332e-06/0.6065, allocations: 1.312 kB / 0.8049 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.6066, allocations: 30.56 kB / 0.805 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.362e-06/0.6066, allocations: 5.438 kB / 0.805 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001379/0.6067, allocations: 36.34 kB / 0.805 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.6068, allocations: 55.34 kB / 0.805 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.6069, allocations: 108.3 kB / 0.8051 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.6069, allocations: 25.7 kB / 0.8052 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.499e-05/0.607, allocations: 91.81 kB / 0.8053 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.196e-06/0.607, allocations: 8.391 kB / 0.8053 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.6071, allocations: 13.41 kB / 0.8053 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.6072, allocations: 322.3 kB / 0.8056 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.6072, allocations: 2.625 kB / 0.8056 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.372e-05/0.6073, allocations: 28.58 kB / 0.8056 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.353e-05/0.6073, allocations: 33.06 kB / 0.8056 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6073, allocations: 4 kB / 0.8057 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.551e-05/0.6074, allocations: 51.77 kB / 0.8057 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.6074, allocations: 5.188 kB / 0.8057 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.6075, allocations: 3.109 kB / 0.8057 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.6075, allocations: 1.531 kB / 0.8057 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.039e-05/0.6075, allocations: 11.27 kB / 0.8057 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.6076, allocations: 5.375 kB / 0.8057 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.142e-05/0.6076, allocations: 5.141 kB / 0.8057 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.6076, allocations: 3.344 kB / 0.8057 GB, free: 9.512 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.618e-05/0.6077, allocations: 120.7 kB / 0.8059 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.6077, allocations: 3.453 kB / 0.8059 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.059e-05/0.6078, allocations: 3.938 kB / 0.8059 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.6078, allocations: 1.062 kB / 0.8059 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.6078, allocations: 3.938 kB / 0.8059 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.6078, allocations: 2.094 kB / 0.8059 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/0.6081, allocations: 351.7 kB / 0.8062 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.6081, allocations: 5.562 kB / 0.8062 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.392e-05/0.6081, allocations: 1.844 kB / 0.8062 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.6081, allocations: 3.938 kB / 0.8062 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.6081, allocations: 0 / 0.8062 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.6081, allocations: 0 / 0.8062 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.6081, allocations: 1.25 kB / 0.8062 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.061e-05/0.6082, allocations: 53.12 kB / 0.8063 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.022e-05/0.6083, allocations: 88.55 kB / 0.8063 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.6083, allocations: 12.19 kB / 0.8064 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.561e-05/0.6084, allocations: 4.109 kB / 0.8064 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.294e-05/0.6084, allocations: 5.188 kB / 0.8064 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/0.6084, allocations: 0 / 0.8064 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.531e-05/0.6085, allocations: 83.09 kB / 0.8064 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6085, allocations: 3.938 kB / 0.8065 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001915/0.6087, allocations: 10.19 kB / 0.8065 GB, free: 8.734 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.0003535/0.609, allocations: 0.5935 MB / 0.807 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.749e-05/0.6091, allocations: 18.41 kB / 0.8071 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6091, allocations: 1.656 kB / 0.8071 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.779e-06/0.6092, allocations: 1.406 kB / 0.8071 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.6094, allocations: 7.031 kB / 0.8071 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003499/0.6097, allocations: 136.2 kB / 0.8072 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.6101, allocations: 0.6792 MB / 0.8079 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.87e-05/0.6101, allocations: 5.516 kB / 0.8079 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.93e-05/0.6101, allocations: 8.875 kB / 0.8079 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.6101, allocations: 0 / 0.8079 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2773/0.8875, allocations: 1.357 MB / 0.8092 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.03/8.917, allocations: 14.25 kB / 0.8092 GB, free: 6.977 MB / 0.5919 GB (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)