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.001391/0.001395, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001331/0.001331, allocations: 193.8 kB / 16.25 MB, free: 6.617 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.228/1.228, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6975/0.6975, allocations: 132.2 MB / 422.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 68.44 kB / 0.5014 GB, free: 4.082 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3782, allocations: 80.19 MB / 0.5797 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1531/0.5313, allocations: 145.7 MB / 0.722 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00014/0.5315, allocations: 59.86 kB / 0.7221 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.134e-05/0.5315, allocations: 0 / 0.7221 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.5316, allocations: 3.938 kB / 0.7221 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.227e-05/0.5318, allocations: 11.97 kB / 0.7221 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004552/0.5322, allocations: 106.2 kB / 0.7222 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.614e-05/0.5323, allocations: 35.91 kB / 0.7222 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.378e-05/0.5323, allocations: 4 kB / 0.7222 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.048e-05/0.5324, allocations: 15.92 kB / 0.7222 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.509e-05/0.5325, allocations: 15.92 kB / 0.7222 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.5325, allocations: 0 / 0.7222 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002291/0.5327, allocations: 75.8 kB / 0.7223 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.323e-05/0.5328, allocations: 11.97 kB / 0.7223 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.5328, allocations: 19.92 kB / 0.7223 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.533, allocations: 70.05 kB / 0.7224 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.533, allocations: 0 / 0.7224 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.373e-06/0.533, allocations: 0 / 0.7224 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.533, allocations: 4 kB / 0.7224 GB, free: 14.96 MB / 0.5606 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.0004226/0.5334, allocations: 343.4 kB / 0.7227 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.5335, allocations: 8.031 kB / 0.7228 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.329e-05/0.5335, allocations: 30.75 kB / 0.7228 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002229/0.5338, allocations: 20.92 kB / 0.7228 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.5339, allocations: 172.1 kB / 0.723 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.692e-05/0.534, allocations: 33.69 kB / 0.723 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.534, allocations: 0 / 0.723 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.5341, allocations: 45.69 kB / 0.723 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.5341, allocations: 0 / 0.723 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.5342, allocations: 3.938 kB / 0.723 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.5342, allocations: 11.92 kB / 0.7231 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.539e-05/0.5342, allocations: 23.97 kB / 0.7231 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003672/0.5346, allocations: 260.8 kB / 0.7233 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.666e-05/0.5347, allocations: 14.58 kB / 0.7233 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.726e-05/0.5347, allocations: 8.891 kB / 0.7234 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.5347, allocations: 0 / 0.7234 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.5348, allocations: 38.56 kB / 0.7234 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.5348, allocations: 0 / 0.7234 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001256/0.5349, allocations: 37.7 kB / 0.7234 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.5349, allocations: 55.34 kB / 0.7235 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.361e-05/0.535, allocations: 105.8 kB / 0.7236 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.535, allocations: 25.7 kB / 0.7236 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.5351, allocations: 91.98 kB / 0.7237 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.843e-06/0.5351, allocations: 7.844 kB / 0.7237 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.5351, allocations: 17.72 kB / 0.7237 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.5353, allocations: 314.8 kB / 0.724 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.556e-05/0.5353, allocations: 8.125 kB / 0.724 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.749e-05/0.5353, allocations: 26.52 kB / 0.724 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.69e-05/0.5354, allocations: 30.56 kB / 0.7241 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5354, allocations: 0 / 0.7241 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.788e-05/0.5355, allocations: 57.88 kB / 0.7241 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.5355, allocations: 9.875 kB / 0.7241 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.5355, allocations: 0 / 0.7241 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.5355, allocations: 4 kB / 0.7241 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.794e-05/0.5356, allocations: 11.94 kB / 0.7242 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.5356, allocations: 3.938 kB / 0.7242 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.666e-05/0.5356, allocations: 0 / 0.7242 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.5356, allocations: 4 kB / 0.7242 GB, free: 12.92 MB / 0.5606 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.195e-05/0.5357, allocations: 111.5 kB / 0.7243 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.5357, allocations: 15.89 kB / 0.7243 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.716e-05/0.5358, allocations: 3.125 kB / 0.7243 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.5358, allocations: 3.938 kB / 0.7243 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5358, allocations: 0 / 0.7243 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.5358, allocations: 0 / 0.7243 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.536, allocations: 338.8 kB / 0.7246 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.536, allocations: 0 / 0.7246 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.782e-05/0.5361, allocations: 11.88 kB / 0.7246 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.5361, allocations: 4.031 kB / 0.7246 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.5361, allocations: 3.984 kB / 0.7246 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.5361, allocations: 0 / 0.7246 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.5361, allocations: 0 / 0.7246 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.021e-05/0.5362, allocations: 61.08 kB / 0.7247 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.593e-05/0.5362, allocations: 81.05 kB / 0.7248 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.5362, allocations: 0 / 0.7248 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.875e-05/0.5363, allocations: 12.02 kB / 0.7248 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.518e-06/0.5363, allocations: 0 / 0.7248 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-06/0.5363, allocations: 0 / 0.7248 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.618e-05/0.5364, allocations: 87.28 kB / 0.7249 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.984e-06/0.5364, allocations: 0 / 0.7249 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001912/0.5366, allocations: 11.92 kB / 0.7249 GB, free: 12.09 MB / 0.5606 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.0003032/0.5369, allocations: 0.5968 MB / 0.7255 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.434e-05/0.537, allocations: 15.98 kB / 0.7255 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.537, allocations: 3.938 kB / 0.7255 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.111e-06/0.537, allocations: 4 kB / 0.7255 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.5373, allocations: 4 kB / 0.7255 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003483/0.5376, allocations: 152.4 kB / 0.7256 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.5379, allocations: 0.6768 MB / 0.7263 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.497e-05/0.5379, allocations: 12.06 kB / 0.7263 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.538, allocations: 11.44 kB / 0.7263 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.538, allocations: 0 / 0.7263 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0564/0.5944, allocations: 1.259 MB / 0.7275 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003227/0.5947, allocations: 224 kB / 0.7278 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.418, allocations: 2 kB / 0.7278 GB, free: 9.199 MB / 0.5606 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)