Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.682/1.682, allocations: 289.9 MB / 297.4 MB, free: 6.395 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.001227/0.001228, allocations: 180.9 kB / 366.7 MB, free: 1.66 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.692/1.692, allocations: 205.3 MB / 0.626 GB, free: 7.176 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009641/0.0009643, allocations: 92.77 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.77e-05/1.766e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6644/0.6644, allocations: 116.3 MB / 0.9733 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 12.16/12.83, allocations: 4.611 GB / 5.585 GB, free: 80.89 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/12.83, allocations: 80.8 kB / 5.585 GB, free: 80.81 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.08255/12.91, allocations: 44.4 MB / 5.628 GB, free: 35.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.064e-06/12.91, allocations: 4 kB / 5.628 GB, free: 35.89 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.498e-06/12.91, allocations: 7.375 kB / 5.628 GB, free: 35.89 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.0003575/12.91, allocations: 330.5 kB / 5.628 GB, free: 35.52 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/12.91, allocations: 12.03 kB / 5.628 GB, free: 35.51 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001965/12.91, allocations: 15.98 kB / 5.628 GB, free: 35.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/12.91, allocations: 163.1 kB / 5.628 GB, free: 35.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.338e-05/12.91, allocations: 29.7 kB / 5.629 GB, free: 35.26 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/12.91, allocations: 3.984 kB / 5.629 GB, free: 35.26 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.625e-05/12.91, allocations: 23.92 kB / 5.629 GB, free: 35.23 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.552e-05/12.91, allocations: 45.64 kB / 5.629 GB, free: 35.18 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/12.91, allocations: 4 kB / 5.629 GB, free: 35.18 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/12.91, allocations: 0 / 5.629 GB, free: 35.18 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/12.91, allocations: 4 kB / 5.629 GB, free: 35.18 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/12.91, allocations: 237.4 kB / 5.629 GB, free: 34.91 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.329e-05/12.91, allocations: 14.58 kB / 5.629 GB, free: 34.88 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.035e-05/12.91, allocations: 8.812 kB / 5.629 GB, free: 34.87 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-06/12.91, allocations: 8.062 kB / 5.629 GB, free: 34.86 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/12.91, allocations: 34.5 kB / 5.629 GB, free: 34.82 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/12.91, allocations: 0 / 5.629 GB, free: 34.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.0001288/12.91, allocations: 29.7 kB / 5.629 GB, free: 34.79 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/12.91, allocations: 51.41 kB / 5.629 GB, free: 34.72 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.107e-05/12.91, allocations: 104.9 kB / 5.629 GB, free: 34.61 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/12.91, allocations: 25.7 kB / 5.629 GB, free: 34.58 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/12.91, allocations: 95.98 kB / 5.629 GB, free: 34.48 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.01e-06/12.91, allocations: 3.938 kB / 5.629 GB, free: 34.48 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/12.91, allocations: 4 kB / 5.629 GB, free: 34.48 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.892e-05/12.91, allocations: 311.2 kB / 5.629 GB, free: 34.16 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.19e-05/12.91, allocations: 0 / 5.629 GB, free: 34.16 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.421e-05/12.91, allocations: 30.56 kB / 5.63 GB, free: 34.12 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.223e-05/12.91, allocations: 8 kB / 5.63 GB, free: 34.12 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/12.91, allocations: 3.938 kB / 5.63 GB, free: 34.11 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.569e-05/12.91, allocations: 45.69 kB / 5.63 GB, free: 34.06 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/12.91, allocations: 11.95 kB / 5.63 GB, free: 34.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/12.91, allocations: 0 / 5.63 GB, free: 34.05 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/12.91, allocations: 0 / 5.63 GB, free: 34.05 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.702e-05/12.91, allocations: 11.94 kB / 5.63 GB, free: 34.04 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/12.91, allocations: 0 / 5.63 GB, free: 34.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.787e-05/12.91, allocations: 5.125 kB / 5.63 GB, free: 34.04 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/12.91, allocations: 8.344 kB / 5.63 GB, free: 34.03 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 () * 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 7.217e-05/12.91, allocations: 101 kB / 5.63 GB, free: 33.92 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.864e-05/12.91, allocations: 37.69 kB / 5.63 GB, free: 33.88 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/12.91, allocations: 7.953 kB / 5.63 GB, free: 33.87 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.033e-05/12.91, allocations: 3.75 kB / 5.63 GB, free: 33.87 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/12.91, allocations: 0 / 5.63 GB, free: 33.87 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/12.91, allocations: 0 / 5.63 GB, free: 33.87 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/12.91, allocations: 0 / 5.63 GB, free: 33.87 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/12.91, allocations: 335.3 kB / 5.63 GB, free: 33.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/12.91, allocations: 0 / 5.63 GB, free: 33.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.26e-05/12.91, allocations: 4 kB / 5.63 GB, free: 33.49 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/12.91, allocations: 0 / 5.63 GB, free: 33.49 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/12.91, allocations: 1.688 kB / 5.63 GB, free: 33.49 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/12.91, allocations: 1.875 kB / 5.63 GB, free: 33.49 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/12.91, allocations: 0 / 5.63 GB, free: 33.49 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.286e-05/12.91, allocations: 61.17 kB / 5.63 GB, free: 33.41 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.114e-05/12.91, allocations: 84.97 kB / 5.63 GB, free: 33.31 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/12.91, allocations: 3.984 kB / 5.63 GB, free: 33.31 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.686e-05/12.91, allocations: 4 kB / 5.63 GB, free: 33.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/12.91, allocations: 7.875 kB / 5.63 GB, free: 33.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-06/12.91, allocations: 0 / 5.63 GB, free: 33.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.989e-05/12.91, allocations: 87.28 kB / 5.63 GB, free: 33.21 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/12.91, allocations: 0 / 5.63 GB, free: 33.21 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002789/12.91, allocations: 27.98 kB / 5.63 GB, free: 33.18 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 () * 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.0008992/12.91, allocations: 1.163 MB / 5.631 GB, free: 31.98 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.607e-05/12.91, allocations: 11.94 kB / 5.631 GB, free: 31.97 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/12.91, allocations: 0 / 5.631 GB, free: 31.97 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.42e-06/12.91, allocations: 4 kB / 5.631 GB, free: 31.97 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/12.91, allocations: 8.312 kB / 5.631 GB, free: 31.96 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002851/12.91, allocations: 86.09 kB / 5.632 GB, free: 31.84 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001607/12.91, allocations: 0.6775 MB / 5.632 GB, free: 31.14 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.571e-05/12.91, allocations: 12.23 kB / 5.632 GB, free: 31.13 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/12.91, allocations: 7.438 kB / 5.632 GB, free: 31.12 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/12.91, allocations: 0 / 5.632 GB, free: 31.12 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02585/12.94, allocations: 5.382 MB / 5.638 GB, free: 25.78 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/12.94, allocations: 173.5 kB / 5.638 GB, free: 25.59 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.973/14.91, allocations: 0 / 5.638 GB, free: 25.59 MB / 0.948 GB (rm -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)