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.001008/0.001008, allocations: 99.78 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.001044/0.001044, 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.22/2.22, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.378/1.378, allocations: 135.2 MB / 426.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005459/0.0005462, allocations: 8 kB / 0.5069 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2813, allocations: 82.32 MB / 0.5873 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.7254/1.007, allocations: 124.9 MB / 0.7092 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003711/1.007, allocations: 133.7 kB / 0.7094 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.055e-05/1.007, allocations: 4 kB / 0.7094 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001463/1.007, allocations: 1.359 kB / 0.7094 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.546e-05/1.008, allocations: 6.516 kB / 0.7094 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006142/1.008, allocations: 82.97 kB / 0.7095 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.829e-05/1.008, allocations: 19.2 kB / 0.7095 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.23e-05/1.008, allocations: 0.7031 kB / 0.7095 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.422e-05/1.008, allocations: 21.69 kB / 0.7095 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.847e-05/1.009, allocations: 5.734 kB / 0.7095 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/1.009, allocations: 1.5 kB / 0.7095 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003509/1.009, allocations: 50.5 kB / 0.7096 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.015e-05/1.009, allocations: 5.266 kB / 0.7096 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.679e-05/1.009, allocations: 27.89 kB / 0.7096 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/1.009, allocations: 36.03 kB / 0.7096 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/1.009, allocations: 0 / 0.7096 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.515e-06/1.009, allocations: 0 / 0.7096 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.54e-06/1.009, allocations: 1.062 kB / 0.7096 GB, free: 3.23 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.0005869/1.01, allocations: 335.9 kB / 0.7099 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.873e-05/1.01, allocations: 9.188 kB / 0.71 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.518e-05/1.01, allocations: 41.34 kB / 0.71 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000389/1.01, allocations: 20.58 kB / 0.71 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/1.011, allocations: 161.7 kB / 0.7102 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.801e-05/1.011, allocations: 29.58 kB / 0.7102 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/1.011, allocations: 2.156 kB / 0.7102 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/1.011, allocations: 50.81 kB / 0.7102 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/1.011, allocations: 4.703 kB / 0.7103 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/1.011, allocations: 0.9375 kB / 0.7103 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.802e-05/1.011, allocations: 1.797 kB / 0.7103 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/1.011, allocations: 31.61 kB / 0.7103 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006361/1.012, allocations: 251.7 kB / 0.7105 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.714e-05/1.012, allocations: 21.53 kB / 0.7105 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-06/1.012, allocations: 0 / 0.7105 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/1.012, allocations: 31.78 kB / 0.7106 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.453e-06/1.012, allocations: 1.375 kB / 0.7106 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0002241/1.012, allocations: 47.61 kB / 0.7106 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/1.012, allocations: 52.88 kB / 0.7107 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/1.012, allocations: 109.4 kB / 0.7108 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/1.012, allocations: 25.7 kB / 0.7108 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.535e-05/1.013, allocations: 90.58 kB / 0.7109 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/1.013, allocations: 9.578 kB / 0.7109 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/1.013, allocations: 0 / 0.7109 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001869/1.013, allocations: 316.7 kB / 0.7112 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.737e-05/1.013, allocations: 4.844 kB / 0.7112 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.871e-05/1.013, allocations: 20.22 kB / 0.7112 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.354e-05/1.013, allocations: 15.31 kB / 0.7112 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/1.013, allocations: 0 / 0.7112 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001525/1.013, allocations: 52.8 kB / 0.7113 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/1.013, allocations: 5.156 kB / 0.7113 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/1.013, allocations: 1 kB / 0.7113 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/1.013, allocations: 9.812 kB / 0.7113 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/1.013, allocations: 7.891 kB / 0.7113 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/1.013, allocations: 5.094 kB / 0.7113 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.959e-05/1.013, allocations: 1.094 kB / 0.7113 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/1.013, allocations: 6.703 kB / 0.7113 GB, free: 1.461 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.0001249/1.014, allocations: 112.7 kB / 0.7114 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/1.014, allocations: 2.094 kB / 0.7114 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/1.014, allocations: 4.969 kB / 0.7114 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/1.014, allocations: 0 / 0.7114 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/1.014, allocations: 6.109 kB / 0.7114 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.014, allocations: 0 / 0.7114 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004328/1.014, allocations: 355.8 kB / 0.7118 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.014, allocations: 0 / 0.7118 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.299e-05/1.014, allocations: 2.984 kB / 0.7118 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/1.014, allocations: 0 / 0.7118 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/1.014, allocations: 4.609 kB / 0.7118 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/1.014, allocations: 1.188 kB / 0.7118 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.014, allocations: 0 / 0.7118 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/1.014, allocations: 65.34 kB / 0.7119 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.732e-05/1.015, allocations: 79.22 kB / 0.7119 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/1.015, allocations: 1.75 kB / 0.7119 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/1.015, allocations: 12.89 kB / 0.7119 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.946e-05/1.015, allocations: 1.156 kB / 0.7119 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/1.015, allocations: 0.6562 kB / 0.7119 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.563e-05/1.015, allocations: 89.97 kB / 0.712 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.5e-07/1.015, allocations: 4.031 kB / 0.712 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003602/1.015, allocations: 6.688 kB / 0.712 GB, free: 0.6836 MB / 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.0004971/1.016, allocations: 0.5883 MB / 0.7126 GB, free: 96 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001325/1.016, allocations: 17.62 kB / 0.7126 GB, free: 88 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.016, allocations: 4.219 kB / 0.7126 GB, free: 84 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.144e-05/1.016, allocations: 2.125 kB / 0.7126 GB, free: 84 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/1.016, allocations: 8.906 kB / 0.7126 GB, free: 80 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00074/1.017, allocations: 152.4 kB / 0.7128 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/1.017, allocations: 0.6827 MB / 0.7135 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001087/1.018, allocations: 13.73 kB / 0.7135 GB, free: 15.22 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.487e-05/1.018, allocations: 9.25 kB / 0.7135 GB, free: 15.21 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/1.018, allocations: 0 / 0.7135 GB, free: 15.21 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/1.038, allocations: 1.126 MB / 0.7146 GB, free: 15.12 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002902/1.039, allocations: 208.1 kB / 0.7148 GB, free: 14.89 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.82/3.858, allocations: 0 / 0.7148 GB, free: 14.89 MB / 0.545 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/linux/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) Environment - environmentSimulation: