Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.847/1.847, allocations: 288.2 MB / 303.2 MB, free: 8.168 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.00106/0.00106, allocations: 179.2 kB / 371.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.689/1.689, allocations: 205.4 MB / 0.6305 GB, free: 10 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.001105/0.001104, allocations: 90.88 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005281/0.0005282, allocations: 10.34 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.2998, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 12.26/12.56, allocations: 4.611 GB / 5.59 GB, free: 214.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/12.56, allocations: 81.83 kB / 5.591 GB, free: 214.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.08306/12.64, allocations: 45.23 MB / 5.635 GB, free: 176.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.174e-06/12.64, allocations: 0 / 5.635 GB, free: 176.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.973e-06/12.64, allocations: 0 / 5.635 GB, free: 176.8 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.000383/12.64, allocations: 340.1 kB / 5.635 GB, free: 176.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/12.64, allocations: 12.03 kB / 5.635 GB, free: 176.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.734e-05/12.64, allocations: 34.5 kB / 5.635 GB, free: 176.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00021/12.64, allocations: 20.75 kB / 5.635 GB, free: 176.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/12.64, allocations: 170.9 kB / 5.635 GB, free: 176.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.839e-05/12.64, allocations: 29.7 kB / 5.635 GB, free: 176.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/12.64, allocations: 3.938 kB / 5.635 GB, free: 176.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/12.64, allocations: 53.12 kB / 5.635 GB, free: 176 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/12.64, allocations: 0 / 5.635 GB, free: 176 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/12.64, allocations: 0 / 5.635 GB, free: 176 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/12.64, allocations: 0 / 5.635 GB, free: 176 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.619e-05/12.64, allocations: 19.92 kB / 5.635 GB, free: 176 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/12.64, allocations: 260.1 kB / 5.636 GB, free: 175.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.144e-05/12.64, allocations: 18.52 kB / 5.636 GB, free: 175.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-06/12.64, allocations: 4.062 kB / 5.636 GB, free: 175.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/12.64, allocations: 30.56 kB / 5.636 GB, free: 175.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 1.423e-06/12.64, allocations: 0 / 5.636 GB, free: 175.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.0001523/12.64, allocations: 37.64 kB / 5.636 GB, free: 175.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/12.64, allocations: 55.34 kB / 5.636 GB, free: 175.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.398e-05/12.64, allocations: 104.7 kB / 5.636 GB, free: 175.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/12.64, allocations: 25.7 kB / 5.636 GB, free: 175.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.874e-05/12.64, allocations: 91.95 kB / 5.636 GB, free: 175.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.322e-06/12.64, allocations: 3.938 kB / 5.636 GB, free: 175.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-06/12.64, allocations: 2.562 kB / 5.636 GB, free: 175.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.729e-05/12.64, allocations: 315.2 kB / 5.636 GB, free: 175 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.466e-05/12.64, allocations: 10.38 kB / 5.636 GB, free: 175 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.476e-05/12.64, allocations: 18.58 kB / 5.636 GB, free: 175 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.357e-05/12.64, allocations: 14.36 kB / 5.636 GB, free: 174.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/12.64, allocations: 0 / 5.636 GB, free: 174.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.566e-05/12.64, allocations: 54.41 kB / 5.636 GB, free: 174.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/12.64, allocations: 12.09 kB / 5.636 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/12.64, allocations: 0 / 5.636 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/12.64, allocations: 4.078 kB / 5.636 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.494e-05/12.64, allocations: 11.98 kB / 5.636 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/12.64, allocations: 3.938 kB / 5.636 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.969e-05/12.64, allocations: 3.906 kB / 5.636 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/12.64, allocations: 4 kB / 5.636 GB, free: 174.8 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 5.829e-05/12.64, allocations: 108.3 kB / 5.637 GB, free: 174.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/12.64, allocations: 7.953 kB / 5.637 GB, free: 174.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.632e-05/12.64, allocations: 9.438 kB / 5.637 GB, free: 174.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/12.64, allocations: 3.938 kB / 5.637 GB, free: 174.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/12.64, allocations: 3.984 kB / 5.637 GB, free: 174.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/12.64, allocations: 0 / 5.637 GB, free: 174.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/12.65, allocations: 347.6 kB / 5.637 GB, free: 174.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/12.65, allocations: 4 kB / 5.637 GB, free: 174.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.333e-05/12.65, allocations: 0 / 5.637 GB, free: 174.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/12.65, allocations: 0 / 5.637 GB, free: 174.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/12.65, allocations: 3.938 kB / 5.637 GB, free: 174.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/12.65, allocations: 4.031 kB / 5.637 GB, free: 174.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/12.65, allocations: 0 / 5.637 GB, free: 174.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.301e-05/12.65, allocations: 63.52 kB / 5.637 GB, free: 174.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.892e-05/12.65, allocations: 77.11 kB / 5.637 GB, free: 174.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/12.65, allocations: 4 kB / 5.637 GB, free: 174.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.437e-05/12.65, allocations: 0 / 5.637 GB, free: 174.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.65e-05/12.65, allocations: 12.02 kB / 5.637 GB, free: 174.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/12.65, allocations: 0 / 5.637 GB, free: 174.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.418e-05/12.65, allocations: 83.34 kB / 5.637 GB, free: 174 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/12.65, allocations: 0 / 5.637 GB, free: 174 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003502/12.65, allocations: 39.17 kB / 5.637 GB, free: 174 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.0008692/12.65, allocations: 1.076 MB / 5.638 GB, free: 172.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.745e-05/12.65, allocations: 8 kB / 5.638 GB, free: 172.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/12.65, allocations: 0 / 5.638 GB, free: 172.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.094e-06/12.65, allocations: 7.938 kB / 5.638 GB, free: 172.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/12.65, allocations: 15.8 kB / 5.638 GB, free: 172.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/12.65, allocations: 150.8 kB / 5.638 GB, free: 172.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/12.65, allocations: 0.6809 MB / 5.639 GB, free: 172 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.267e-05/12.65, allocations: 8 kB / 5.639 GB, free: 172 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/12.65, allocations: 10.69 kB / 5.639 GB, free: 172 MB / 0.948 GB Notification: Performance of SimCode: time 4.51e-07/12.65, allocations: 0 / 5.639 GB, free: 172 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/12.67, allocations: 10.52 MB / 5.649 GB, free: 161.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002298/12.67, allocations: 218 kB / 5.65 GB, free: 161.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.852/14.52, allocations: 0 / 5.65 GB, free: 161.4 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)