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.001428/0.001428, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.456/1.456, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7794/0.7794, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 64.91 kB / 0.5019 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3875, allocations: 80.2 MB / 0.5802 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1551/0.5426, allocations: 147.8 MB / 0.7246 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001401/0.5428, allocations: 59.47 kB / 0.7246 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.456e-05/0.5429, allocations: 3.938 kB / 0.7246 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.891e-05/0.543, allocations: 3.938 kB / 0.7246 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.984e-05/0.543, allocations: 11.92 kB / 0.7246 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004757/0.5436, allocations: 103.6 kB / 0.7247 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.713e-05/0.5436, allocations: 39.84 kB / 0.7248 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.467e-05/0.5437, allocations: 0 / 0.7248 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.718e-05/0.5437, allocations: 15.94 kB / 0.7248 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.59e-05/0.5438, allocations: 19.97 kB / 0.7248 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.5438, allocations: 0 / 0.7248 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002598/0.5441, allocations: 83.72 kB / 0.7249 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.75e-05/0.5441, allocations: 7.984 kB / 0.7249 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.5442, allocations: 15.94 kB / 0.7249 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.5444, allocations: 70.08 kB / 0.725 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.5444, allocations: 0 / 0.725 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5444, allocations: 0 / 0.725 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.5444, allocations: 0 / 0.725 GB, free: 12.75 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.000386/0.5448, allocations: 347.4 kB / 0.7253 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.5448, allocations: 8.031 kB / 0.7253 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.36e-05/0.5449, allocations: 38.73 kB / 0.7253 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002207/0.5451, allocations: 20.86 kB / 0.7254 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.5452, allocations: 168.1 kB / 0.7255 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.034e-05/0.5453, allocations: 25.7 kB / 0.7256 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.5453, allocations: 4 kB / 0.7256 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.5455, allocations: 49.67 kB / 0.7256 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.5455, allocations: 0 / 0.7256 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.5455, allocations: 0 / 0.7256 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.5455, allocations: 4 kB / 0.7256 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.096e-05/0.5456, allocations: 19.98 kB / 0.7256 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003574/0.5459, allocations: 268.8 kB / 0.7259 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.457e-05/0.546, allocations: 18.56 kB / 0.7259 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.716e-05/0.546, allocations: 4.859 kB / 0.7259 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.821e-06/0.546, allocations: 0 / 0.7259 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.546, allocations: 34.62 kB / 0.7259 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.546, allocations: 0 / 0.7259 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001234/0.5462, allocations: 41.62 kB / 0.726 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.5462, allocations: 59.47 kB / 0.726 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.855e-05/0.5463, allocations: 105.8 kB / 0.7261 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.5463, allocations: 25.7 kB / 0.7262 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.169e-05/0.5464, allocations: 91.98 kB / 0.7262 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.821e-06/0.5464, allocations: 3.906 kB / 0.7263 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.5464, allocations: 17.72 kB / 0.7263 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.042e-05/0.5465, allocations: 314.8 kB / 0.7266 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.929e-05/0.5465, allocations: 15.92 kB / 0.7266 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.394e-05/0.5466, allocations: 22.58 kB / 0.7266 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.055e-05/0.5466, allocations: 34.5 kB / 0.7266 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5466, allocations: 0 / 0.7266 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.044e-05/0.5467, allocations: 49.89 kB / 0.7267 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.5467, allocations: 12.09 kB / 0.7267 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.5467, allocations: 0 / 0.7267 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.5468, allocations: 7.984 kB / 0.7267 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.065e-05/0.5468, allocations: 11.94 kB / 0.7267 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.5468, allocations: 3.984 kB / 0.7267 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.842e-05/0.5469, allocations: 0 / 0.7267 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.5469, allocations: 4 kB / 0.7267 GB, free: 10.7 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.053e-05/0.547, allocations: 111.4 kB / 0.7268 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.547, allocations: 7.906 kB / 0.7268 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.625e-05/0.547, allocations: 11.06 kB / 0.7269 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.547, allocations: 3.938 kB / 0.7269 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.547, allocations: 0 / 0.7269 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.547, allocations: 3.984 kB / 0.7269 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.5473, allocations: 338.8 kB / 0.7272 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.5473, allocations: 0 / 0.7272 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.747e-05/0.5473, allocations: 7.938 kB / 0.7272 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.5473, allocations: 0 / 0.7272 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.5473, allocations: 4.031 kB / 0.7272 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.5473, allocations: 0 / 0.7272 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5473, allocations: 0 / 0.7272 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.259e-05/0.5474, allocations: 65.06 kB / 0.7273 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.358e-05/0.5475, allocations: 81.05 kB / 0.7273 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.5475, allocations: 0 / 0.7273 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.745e-05/0.5476, allocations: 7.984 kB / 0.7273 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.082e-05/0.5476, allocations: 4.031 kB / 0.7273 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.5476, allocations: 0 / 0.7273 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.214e-05/0.5476, allocations: 87.28 kB / 0.7274 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5476, allocations: 0 / 0.7274 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001936/0.5478, allocations: 4 kB / 0.7274 GB, free: 9.867 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.000287/0.5481, allocations: 0.6007 MB / 0.728 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.204e-05/0.5482, allocations: 15.94 kB / 0.728 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5482, allocations: 0 / 0.728 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.794e-06/0.5482, allocations: 7.984 kB / 0.728 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.5485, allocations: 4 kB / 0.728 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/0.5488, allocations: 155.3 kB / 0.7282 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.549, allocations: 0.6807 MB / 0.7289 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.184e-05/0.5491, allocations: 4 kB / 0.7289 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.522e-05/0.5491, allocations: 11.44 kB / 0.7289 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.5491, allocations: 0 / 0.7289 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0163/0.5654, allocations: 1.328 MB / 0.7302 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.01/7.575, allocations: 4.688 kB / 0.7302 GB, free: 7.113 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)