Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.566/2.566, allocations: 287.3 MB / 302.3 MB, free: 8.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00203/0.00203, allocations: 178.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.086/2.086, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001137/0.001136, allocations: 90.8 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004947/0.0004948, allocations: 10.69 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2161, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 15.07/15.29, allocations: 4.611 GB / 5.589 GB, free: 191.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/15.29, allocations: 83.45 kB / 5.589 GB, free: 191.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1866/15.48, allocations: 45.22 MB / 5.633 GB, free: 154.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.884e-06/15.48, allocations: 0 / 5.633 GB, free: 154.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.903e-06/15.48, allocations: 4 kB / 5.633 GB, free: 154.2 MB / 0.948 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.0003648/15.48, allocations: 342.7 kB / 5.634 GB, free: 153.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/15.48, allocations: 11.97 kB / 5.634 GB, free: 153.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.481e-05/15.48, allocations: 34.06 kB / 5.634 GB, free: 153.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002789/15.48, allocations: 16.77 kB / 5.634 GB, free: 153.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.967e-05/15.48, allocations: 171 kB / 5.634 GB, free: 153.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.901e-05/15.48, allocations: 29.7 kB / 5.634 GB, free: 153.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/15.48, allocations: 7.938 kB / 5.634 GB, free: 153.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/15.48, allocations: 45.44 kB / 5.634 GB, free: 153.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/15.48, allocations: 0 / 5.634 GB, free: 153.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/15.48, allocations: 0 / 5.634 GB, free: 153.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/15.48, allocations: 4 kB / 5.634 GB, free: 153.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.164e-05/15.48, allocations: 23.8 kB / 5.634 GB, free: 153.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003984/15.48, allocations: 264.1 kB / 5.634 GB, free: 153.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.81e-05/15.48, allocations: 18.58 kB / 5.634 GB, free: 153.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.749e-06/15.48, allocations: 0 / 5.634 GB, free: 153.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/15.48, allocations: 34.19 kB / 5.634 GB, free: 153.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 1.402e-06/15.48, allocations: 0 / 5.634 GB, free: 153.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.0001402/15.48, allocations: 45.69 kB / 5.634 GB, free: 153.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/15.48, allocations: 51.41 kB / 5.634 GB, free: 153 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.984e-05/15.48, allocations: 92.44 kB / 5.634 GB, free: 152.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/15.48, allocations: 29.7 kB / 5.635 GB, free: 152.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.735e-05/15.48, allocations: 95.62 kB / 5.635 GB, free: 152.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.555e-06/15.48, allocations: 3.938 kB / 5.635 GB, free: 152.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/15.48, allocations: 0 / 5.635 GB, free: 152.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.96e-05/15.48, allocations: 315.2 kB / 5.635 GB, free: 152.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.035e-05/15.48, allocations: 8 kB / 5.635 GB, free: 152.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.165e-05/15.48, allocations: 22.56 kB / 5.635 GB, free: 152.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.127e-05/15.48, allocations: 8 kB / 5.635 GB, free: 152.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/15.48, allocations: 3.953 kB / 5.635 GB, free: 152.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001044/15.48, allocations: 56.69 kB / 5.635 GB, free: 152.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/15.48, allocations: 4.094 kB / 5.635 GB, free: 152.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/15.48, allocations: 4 kB / 5.635 GB, free: 152.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/15.48, allocations: 4 kB / 5.635 GB, free: 152.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.46e-05/15.48, allocations: 7.938 kB / 5.635 GB, free: 152.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/15.48, allocations: 0 / 5.635 GB, free: 152.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.905e-05/15.48, allocations: 7.906 kB / 5.635 GB, free: 152.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/15.48, allocations: 0 / 5.635 GB, free: 152.3 MB / 0.948 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 6.534e-05/15.48, allocations: 113.8 kB / 5.635 GB, free: 152.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/15.48, allocations: 7.484 kB / 5.635 GB, free: 152.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.359e-05/15.48, allocations: 11.11 kB / 5.635 GB, free: 152.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/15.48, allocations: 4 kB / 5.635 GB, free: 152.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/15.48, allocations: 0 / 5.635 GB, free: 152.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/15.48, allocations: 0 / 5.635 GB, free: 152.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/15.48, allocations: 350.1 kB / 5.636 GB, free: 151.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/15.48, allocations: 0 / 5.636 GB, free: 151.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.109e-05/15.48, allocations: 7.922 kB / 5.636 GB, free: 151.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/15.48, allocations: 0 / 5.636 GB, free: 151.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/15.48, allocations: 0 / 5.636 GB, free: 151.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/15.48, allocations: 8.031 kB / 5.636 GB, free: 151.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/15.48, allocations: 0 / 5.636 GB, free: 151.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.518e-05/15.48, allocations: 56.28 kB / 5.636 GB, free: 151.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.476e-05/15.48, allocations: 81.11 kB / 5.636 GB, free: 151.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/15.48, allocations: 4.234 kB / 5.636 GB, free: 151.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/15.48, allocations: 8 kB / 5.636 GB, free: 151.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/15.48, allocations: 7.438 kB / 5.636 GB, free: 151.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/15.48, allocations: 4.031 kB / 5.636 GB, free: 151.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.98e-05/15.48, allocations: 87.2 kB / 5.636 GB, free: 151.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.91e-07/15.48, allocations: 0 / 5.636 GB, free: 151.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003772/15.48, allocations: 40.69 kB / 5.636 GB, free: 151.5 MB / 0.948 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.0009511/15.48, allocations: 1.064 MB / 5.637 GB, free: 150.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000102/15.48, allocations: 14.31 kB / 5.637 GB, free: 150.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/15.48, allocations: 0 / 5.637 GB, free: 150.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.039e-05/15.48, allocations: 7.984 kB / 5.637 GB, free: 150.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/15.48, allocations: 6.5 kB / 5.637 GB, free: 150.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000383/15.48, allocations: 148.7 kB / 5.637 GB, free: 150.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/15.48, allocations: 0.677 MB / 5.638 GB, free: 149.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 8.379e-05/15.48, allocations: 7.984 kB / 5.638 GB, free: 149.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/15.48, allocations: 11.44 kB / 5.638 GB, free: 149.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.132e-06/15.48, allocations: 0 / 5.638 GB, free: 149.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03346/15.52, allocations: 10.53 MB / 5.648 GB, free: 139.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/15.52, allocations: 211.2 kB / 5.648 GB, free: 138.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.867/18.38, allocations: 0 / 5.648 GB, free: 138.9 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)