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.001279/0.001279, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001649/0.001649, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.508/2.508, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.291/1.291, allocations: 132.2 MB / 423.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004965/0.0004967, allocations: 12.78 kB / 0.5033 GB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9351/0.9357, allocations: 81.57 MB / 0.583 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.2367/1.172, allocations: 124.9 MB / 0.7049 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003143/1.173, allocations: 139.7 kB / 0.7051 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.96e-05/1.173, allocations: 0 / 0.7051 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001492/1.173, allocations: 0 / 0.7051 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.689e-05/1.173, allocations: 3.984 kB / 0.7051 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005487/1.174, allocations: 89.91 kB / 0.7052 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.674e-05/1.174, allocations: 23.89 kB / 0.7052 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.21e-05/1.174, allocations: 4 kB / 0.7052 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.433e-05/1.174, allocations: 19.92 kB / 0.7052 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.027e-05/1.174, allocations: 4 kB / 0.7052 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/1.174, allocations: 3.938 kB / 0.7052 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002906/1.174, allocations: 47.89 kB / 0.7053 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.804e-05/1.174, allocations: 11.98 kB / 0.7053 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/1.174, allocations: 29.7 kB / 0.7053 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/1.175, allocations: 34.22 kB / 0.7053 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/1.175, allocations: 3.938 kB / 0.7053 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.695e-06/1.175, allocations: 0 / 0.7053 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.859e-06/1.175, allocations: 0 / 0.7053 GB, free: 2.961 MB / 0.5294 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.0004862/1.175, allocations: 327.1 kB / 0.7057 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/1.175, allocations: 12.03 kB / 0.7057 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.239e-05/1.175, allocations: 30.56 kB / 0.7057 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003486/1.176, allocations: 31.92 kB / 0.7057 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/1.176, allocations: 159.1 kB / 0.7059 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.405e-05/1.176, allocations: 29.7 kB / 0.7059 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/1.176, allocations: 0 / 0.7059 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/1.176, allocations: 49.67 kB / 0.7059 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/1.176, allocations: 0 / 0.7059 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/1.176, allocations: 0 / 0.7059 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.842e-05/1.176, allocations: 11.95 kB / 0.706 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.848e-05/1.176, allocations: 19.92 kB / 0.706 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005026/1.177, allocations: 260.9 kB / 0.7062 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.84e-05/1.177, allocations: 22.58 kB / 0.7062 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.622e-06/1.177, allocations: 0 / 0.7062 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/1.177, allocations: 38.52 kB / 0.7063 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/1.177, allocations: 0 / 0.7063 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001772/1.177, allocations: 37.61 kB / 0.7063 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/1.177, allocations: 59.39 kB / 0.7064 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/1.177, allocations: 101.9 kB / 0.7065 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/1.177, allocations: 29.7 kB / 0.7065 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.62e-05/1.177, allocations: 95.95 kB / 0.7066 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.387e-06/1.177, allocations: 3.906 kB / 0.7066 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/1.177, allocations: 4.125 kB / 0.7066 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001252/1.178, allocations: 318.8 kB / 0.7069 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/1.178, allocations: 0 / 0.7069 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.801e-05/1.178, allocations: 22.56 kB / 0.7069 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.328e-05/1.178, allocations: 12 kB / 0.7069 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.178, allocations: 3.938 kB / 0.7069 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001179/1.178, allocations: 57.62 kB / 0.707 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/1.178, allocations: 4 kB / 0.707 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/1.178, allocations: 3.953 kB / 0.707 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/1.178, allocations: 4 kB / 0.707 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.963e-05/1.178, allocations: 4 kB / 0.707 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/1.178, allocations: 3.938 kB / 0.707 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.71e-05/1.178, allocations: 4 kB / 0.707 GB, free: 1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/1.178, allocations: 0 / 0.707 GB, free: 1 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001175/1.178, allocations: 121.9 kB / 0.7071 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/1.178, allocations: 0 / 0.7071 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/1.178, allocations: 3.125 kB / 0.7071 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/1.178, allocations: 7.953 kB / 0.7071 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.178, allocations: 0 / 0.7071 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/1.178, allocations: 0 / 0.7071 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003313/1.179, allocations: 342.7 kB / 0.7075 GB, free: 476 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/1.179, allocations: 3.984 kB / 0.7075 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.566e-05/1.179, allocations: 4.031 kB / 0.7075 GB, free: 468 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/1.179, allocations: 3.953 kB / 0.7075 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/1.179, allocations: 7.938 kB / 0.7075 GB, free: 456 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/1.179, allocations: 0 / 0.7075 GB, free: 456 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.179, allocations: 0 / 0.7075 GB, free: 456 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.176e-05/1.179, allocations: 57.05 kB / 0.7075 GB, free: 380 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.105e-05/1.179, allocations: 81.11 kB / 0.7076 GB, free: 280 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/1.179, allocations: 8.031 kB / 0.7076 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/1.179, allocations: 8.031 kB / 0.7076 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/1.179, allocations: 7.922 kB / 0.7076 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-06/1.179, allocations: 256 / 0.7076 GB, free: 256 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.455e-05/1.179, allocations: 91.27 kB / 0.7077 GB, free: 164 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/1.179, allocations: 0 / 0.7077 GB, free: 164 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000328/1.18, allocations: 8 kB / 0.7077 GB, free: 156 kB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004467/1.18, allocations: 0.593 MB / 0.7083 GB, free: 15.53 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.675e-05/1.18, allocations: 11.94 kB / 0.7083 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.18, allocations: 0 / 0.7083 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.947e-06/1.18, allocations: 4 kB / 0.7083 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/1.18, allocations: 7.953 kB / 0.7083 GB, free: 15.51 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005039/1.181, allocations: 150.5 kB / 0.7085 GB, free: 15.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/1.181, allocations: 0.6848 MB / 0.7092 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.712e-05/1.181, allocations: 4 kB / 0.7092 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.886e-05/1.181, allocations: 7.438 kB / 0.7092 GB, free: 14.6 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/1.181, allocations: 3.938 kB / 0.7092 GB, free: 14.59 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0163/1.198, allocations: 1.124 MB / 0.7103 GB, free: 13.68 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002566/1.198, allocations: 202.1 kB / 0.7105 GB, free: 13.43 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.701/3.899, allocations: 3.938 kB / 0.7105 GB, free: 13.43 MB / 0.545 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/linux/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) Environment - environmentSimulation: