Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8095/0.8095, allocations: 128.7 MB / 143.7 MB, free: 2.34 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 180.2 kB / 173.7 MB, free: 6.137 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000978/0.0009779, allocations: 93.3 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.0003464, allocations: 12.08 kB / 0.5604 GB, free: 97.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1749, allocations: 76.76 MB / 0.6354 GB, free: 30.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.26/11.44, allocations: 4.566 GB / 5.201 GB, free: 75.02 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/11.44, allocations: 93.25 kB / 5.201 GB, free: 74.93 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.08439/11.52, allocations: 45.68 MB / 5.246 GB, free: 28.61 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.675e-06/11.52, allocations: 0 / 5.246 GB, free: 28.61 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.184e-06/11.52, allocations: 0 / 5.246 GB, free: 28.61 MB / 0.6511 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.0003278/11.52, allocations: 339.4 kB / 5.246 GB, free: 28.23 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/11.52, allocations: 12.03 kB / 5.246 GB, free: 28.22 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.941e-05/11.52, allocations: 34.56 kB / 5.246 GB, free: 28.18 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001983/11.52, allocations: 19.97 kB / 5.246 GB, free: 28.16 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/11.52, allocations: 159.1 kB / 5.247 GB, free: 27.96 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-05/11.53, allocations: 29.66 kB / 5.247 GB, free: 27.93 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/11.53, allocations: 4 kB / 5.247 GB, free: 27.92 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/11.53, allocations: 49.66 kB / 5.247 GB, free: 27.87 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/11.53, allocations: 4 kB / 5.247 GB, free: 27.86 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/11.53, allocations: 0 / 5.247 GB, free: 27.86 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/11.53, allocations: 7.938 kB / 5.247 GB, free: 27.86 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.544e-05/11.53, allocations: 15.98 kB / 5.247 GB, free: 27.84 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/11.53, allocations: 265.5 kB / 5.247 GB, free: 27.53 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 4.424e-05/11.53, allocations: 18.58 kB / 5.247 GB, free: 27.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.963e-06/11.53, allocations: 4 kB / 5.247 GB, free: 27.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/11.53, allocations: 34.56 kB / 5.247 GB, free: 27.46 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=1): time 2.044e-06/11.53, allocations: 0 / 5.247 GB, free: 27.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1): time 0.0001499/11.53, allocations: 37.7 kB / 5.247 GB, free: 27.41 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/11.53, allocations: 51.41 kB / 5.247 GB, free: 27.35 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.605e-05/11.53, allocations: 96.98 kB / 5.247 GB, free: 27.25 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/11.53, allocations: 25.7 kB / 5.247 GB, free: 27.22 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.776e-05/11.53, allocations: 92.17 kB / 5.247 GB, free: 27.12 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.875e-06/11.53, allocations: 7.844 kB / 5.247 GB, free: 27.12 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/11.53, allocations: 0 / 5.247 GB, free: 27.12 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.419e-05/11.53, allocations: 319.2 kB / 5.248 GB, free: 26.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.419e-05/11.53, allocations: 7.984 kB / 5.248 GB, free: 26.79 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.318e-05/11.53, allocations: 22.52 kB / 5.248 GB, free: 26.76 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.622e-05/11.53, allocations: 15.94 kB / 5.248 GB, free: 26.74 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/11.53, allocations: 4 kB / 5.248 GB, free: 26.74 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.293e-05/11.53, allocations: 53.62 kB / 5.248 GB, free: 26.68 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/11.53, allocations: 4 kB / 5.248 GB, free: 26.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/11.53, allocations: 0 / 5.248 GB, free: 26.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/11.53, allocations: 0 / 5.248 GB, free: 26.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.104e-05/11.53, allocations: 11.98 kB / 5.248 GB, free: 26.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/11.53, allocations: 0 / 5.248 GB, free: 26.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.742e-05/11.53, allocations: 0 / 5.248 GB, free: 26.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/11.53, allocations: 4.375 kB / 5.248 GB, free: 26.66 MB / 0.6511 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 7.43e-05/11.53, allocations: 117.8 kB / 5.248 GB, free: 26.54 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/11.53, allocations: 4 kB / 5.248 GB, free: 26.53 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.277e-05/11.53, allocations: 7.109 kB / 5.248 GB, free: 26.53 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/11.53, allocations: 0 / 5.248 GB, free: 26.53 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/11.53, allocations: 0 / 5.248 GB, free: 26.53 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/11.53, allocations: 0 / 5.248 GB, free: 26.53 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/11.53, allocations: 354.6 kB / 5.248 GB, free: 26.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/11.53, allocations: 4.031 kB / 5.248 GB, free: 26.12 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.547e-05/11.53, allocations: 4 kB / 5.248 GB, free: 26.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/11.53, allocations: 0 / 5.248 GB, free: 26.11 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/11.53, allocations: 0 / 5.248 GB, free: 26.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/11.53, allocations: 7.938 kB / 5.248 GB, free: 26.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/11.53, allocations: 0 / 5.248 GB, free: 26.11 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.486e-05/11.53, allocations: 69.02 kB / 5.248 GB, free: 26.02 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 2.704e-05/11.53, allocations: 81.14 kB / 5.248 GB, free: 25.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/11.53, allocations: 0 / 5.248 GB, free: 25.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.716e-05/11.53, allocations: 4 kB / 5.248 GB, free: 25.92 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.472e-05/11.53, allocations: 0 / 5.248 GB, free: 25.92 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/11.53, allocations: 0 / 5.248 GB, free: 25.92 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.375e-05/11.53, allocations: 87.27 kB / 5.248 GB, free: 25.83 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.21e-07/11.53, allocations: 0 / 5.248 GB, free: 25.83 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003534/11.53, allocations: 40 kB / 5.249 GB, free: 25.79 MB / 0.6511 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.0009773/11.53, allocations: 1.065 MB / 5.25 GB, free: 24.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.703e-05/11.53, allocations: 15.92 kB / 5.25 GB, free: 24.69 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/11.53, allocations: 0 / 5.25 GB, free: 24.69 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-05/11.53, allocations: 8 kB / 5.25 GB, free: 24.68 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/11.53, allocations: 6.625 kB / 5.25 GB, free: 24.68 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004587/11.53, allocations: 150.5 kB / 5.25 GB, free: 24.48 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/11.53, allocations: 0.6809 MB / 5.25 GB, free: 23.78 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.441e-05/11.53, allocations: 7.984 kB / 5.25 GB, free: 23.77 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/11.53, allocations: 11.44 kB / 5.25 GB, free: 23.76 MB / 0.6511 GB Notification: Performance of SimCode: time 3.01e-07/11.53, allocations: 0 / 5.25 GB, free: 23.76 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02513/11.55, allocations: 10.52 MB / 5.261 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/11.56, allocations: 226.7 kB / 5.261 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/13.37, allocations: 0 / 5.261 GB, free: 13.14 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)