Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.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.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.739/0.739, allocations: 117.9 MB / 133.9 MB, free: 4.516 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.001038/0.001038, allocations: 167.3 kB / 161.7 MB, free: 2.738 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.952/1.952, allocations: 205.4 MB / 394.8 MB, free: 21.18 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.0008812/0.0008811, allocations: 96.42 kB / 470.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004152/0.0004154, allocations: 19.98 kB / 0.5423 GB, free: 7.207 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3931, allocations: 74.54 MB / 0.6151 GB, free: 54.16 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.384/5.778, allocations: 2.127 GB / 2.743 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/5.778, allocations: 79.95 kB / 2.743 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.4661/6.244, allocations: 37.24 MB / 2.779 GB, free: 238.1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.703e-06/6.244, allocations: 0 / 2.779 GB, free: 238.1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.927e-06/6.244, allocations: 8 kB / 2.779 GB, free: 238.1 MB / 0.6355 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.0003448/6.245, allocations: 343.5 kB / 2.779 GB, free: 237.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/6.245, allocations: 8.031 kB / 2.779 GB, free: 237.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002632/6.245, allocations: 32.77 kB / 2.779 GB, free: 237.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.624e-05/6.245, allocations: 164.4 kB / 2.78 GB, free: 237.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.745e-05/6.245, allocations: 26.27 kB / 2.78 GB, free: 237.4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/6.245, allocations: 4.375 kB / 2.78 GB, free: 237.4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/6.245, allocations: 50.17 kB / 2.78 GB, free: 237.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/6.245, allocations: 11.94 kB / 2.78 GB, free: 237.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/6.245, allocations: 0 / 2.78 GB, free: 237.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.836e-05/6.245, allocations: 0 / 2.78 GB, free: 237.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.329e-05/6.245, allocations: 19.98 kB / 2.78 GB, free: 237.3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003384/6.246, allocations: 260.8 kB / 2.78 GB, free: 237 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.634e-05/6.246, allocations: 22.58 kB / 2.78 GB, free: 237 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.248e-05/6.246, allocations: 12.86 kB / 2.78 GB, free: 237 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001421/6.246, allocations: 93.16 kB / 2.78 GB, free: 236.9 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/6.246, allocations: 30.56 kB / 2.78 GB, free: 236.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/6.246, allocations: 3.984 kB / 2.78 GB, free: 236.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002352/6.246, allocations: 53.62 kB / 2.78 GB, free: 236.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/6.246, allocations: 55.53 kB / 2.78 GB, free: 236.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.138e-05/6.246, allocations: 106.2 kB / 2.78 GB, free: 236.6 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/6.246, allocations: 25.7 kB / 2.78 GB, free: 236.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.033e-05/6.246, allocations: 84.05 kB / 2.78 GB, free: 236.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.985e-06/6.246, allocations: 7.906 kB / 2.78 GB, free: 236.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-06/6.246, allocations: 0 / 2.78 GB, free: 236.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.331e-05/6.246, allocations: 318.8 kB / 2.781 GB, free: 236.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.453e-05/6.246, allocations: 4 kB / 2.781 GB, free: 236.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.478e-05/6.247, allocations: 26.52 kB / 2.781 GB, free: 236.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.261e-05/6.247, allocations: 38.44 kB / 2.781 GB, free: 236.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/6.247, allocations: 0 / 2.781 GB, free: 236.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.384e-05/6.247, allocations: 53.64 kB / 2.781 GB, free: 236 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/6.247, allocations: 4 kB / 2.781 GB, free: 236 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/6.247, allocations: 12.08 kB / 2.781 GB, free: 236 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/6.247, allocations: 0 / 2.781 GB, free: 236 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6e-05/6.247, allocations: 4 kB / 2.781 GB, free: 236 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/6.247, allocations: 4 kB / 2.781 GB, free: 236 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.7e-05/6.247, allocations: 0 / 2.781 GB, free: 236 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/6.247, allocations: 0 / 2.781 GB, free: 236 MB / 0.6355 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.834e-05/6.247, allocations: 113.8 kB / 2.781 GB, free: 235.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/6.247, allocations: 3.906 kB / 2.781 GB, free: 235.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.663e-05/6.247, allocations: 15.06 kB / 2.781 GB, free: 235.9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/6.247, allocations: 8 kB / 2.781 GB, free: 235.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/6.247, allocations: 3.984 kB / 2.781 GB, free: 235.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/6.247, allocations: 0 / 2.781 GB, free: 235.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/6.247, allocations: 359.6 kB / 2.781 GB, free: 235.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/6.247, allocations: 0 / 2.781 GB, free: 235.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-05/6.247, allocations: 7.938 kB / 2.781 GB, free: 235.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/6.247, allocations: 0 / 2.781 GB, free: 235.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/6.247, allocations: 8.047 kB / 2.781 GB, free: 235.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/6.247, allocations: 7.938 kB / 2.781 GB, free: 235.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/6.247, allocations: 0 / 2.781 GB, free: 235.4 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.684e-05/6.247, allocations: 65.94 kB / 2.781 GB, free: 235.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.512e-05/6.247, allocations: 81.11 kB / 2.781 GB, free: 235.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/6.247, allocations: 3.984 kB / 2.781 GB, free: 235.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.151e-05/6.248, allocations: 32 / 2.781 GB, free: 235.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.664e-05/6.248, allocations: 11.94 kB / 2.781 GB, free: 235.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/6.248, allocations: 0 / 2.781 GB, free: 235.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.252e-05/6.248, allocations: 87.22 kB / 2.782 GB, free: 235.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.1e-07/6.248, allocations: 0 / 2.782 GB, free: 235.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003892/6.248, allocations: 39.98 kB / 2.782 GB, free: 235.1 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0007089/6.249, allocations: 0.5465 MB / 2.782 GB, free: 234.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.053e-05/6.249, allocations: 16.06 kB / 2.782 GB, free: 234.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/6.249, allocations: 7.938 kB / 2.782 GB, free: 234.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.005e-05/6.249, allocations: 7.938 kB / 2.782 GB, free: 234.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/6.249, allocations: 9.391 kB / 2.782 GB, free: 234.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/6.249, allocations: 125.4 kB / 2.782 GB, free: 234.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/6.25, allocations: 0.6773 MB / 2.783 GB, free: 233.6 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.715e-05/6.25, allocations: 11.97 kB / 2.783 GB, free: 233.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.171e-05/6.25, allocations: 7.438 kB / 2.783 GB, free: 233.6 MB / 0.6355 GB Notification: Performance of SimCode: time 3.6e-07/6.25, allocations: 0 / 2.783 GB, free: 233.6 MB / 0.6355 GB Notification: Performance of Templates: time 0.01043/6.26, allocations: 7.64 MB / 2.79 GB, free: 226 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)