Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.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: translateModel(BuildSysPro.IBPSA.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties") translateModel(BuildSysPro.IBPSA.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.734/0.734, allocations: 127.4 MB / 134.9 MB, free: 3.492 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.001086/0.001086, allocations: 185.7 kB / 164.7 MB, free: 11.61 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.68/1.68, allocations: 205.2 MB / 399.5 MB, free: 13.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.0008402/0.00084, allocations: 90.45 kB / 476.7 MB, free: 1.453 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.741e-05/1.742e-05, allocations: 2.781 kB / 0.5466 GB, free: 95.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1778, allocations: 76.76 MB / 0.6215 GB, free: 43.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.83/5.008, allocations: 2.161 GB / 2.782 GB, free: 19.73 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/5.008, allocations: 79.61 kB / 2.782 GB, free: 19.66 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.4812/5.489, allocations: 51.23 MB / 2.832 GB, free: 236.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.543e-06/5.489, allocations: 0 / 2.832 GB, free: 236.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.429e-05/5.489, allocations: 4.531 kB / 2.832 GB, free: 236.4 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001056/5.491, allocations: 0.5667 MB / 2.833 GB, free: 235.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/5.491, allocations: 7.969 kB / 2.833 GB, free: 235.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/5.492, allocations: 141.3 kB / 2.833 GB, free: 235.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/5.492, allocations: 221.9 kB / 2.833 GB, free: 235.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/5.492, allocations: 6.656 kB / 2.833 GB, free: 235.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-05/5.492, allocations: 9.969 kB / 2.833 GB, free: 235.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007344/5.493, allocations: 309.6 kB / 2.833 GB, free: 235.4 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003604/5.493, allocations: 287.7 kB / 2.834 GB, free: 235.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/5.493, allocations: 7.844 kB / 2.834 GB, free: 235.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/5.493, allocations: 3.953 kB / 2.834 GB, free: 235.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.12e-05/5.493, allocations: 16.14 kB / 2.834 GB, free: 235.2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/5.495, allocations: 1.133 MB / 2.835 GB, free: 234.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004121/5.495, allocations: 174.2 kB / 2.835 GB, free: 234.1 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/5.495, allocations: 72.55 kB / 2.835 GB, free: 234.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000397/5.496, allocations: 354.5 kB / 2.835 GB, free: 233.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/5.496, allocations: 45.81 kB / 2.835 GB, free: 233.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/5.496, allocations: 0 / 2.835 GB, free: 233.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20): time 0.0004415/5.496, allocations: 171.1 kB / 2.836 GB, free: 233.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/5.496, allocations: 56.09 kB / 2.836 GB, free: 233.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/5.496, allocations: 152.8 kB / 2.836 GB, free: 233.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/5.496, allocations: 29.69 kB / 2.836 GB, free: 233.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.946e-05/5.497, allocations: 155.6 kB / 2.836 GB, free: 233.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/5.497, allocations: 66.58 kB / 2.836 GB, free: 233.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.349e-05/5.497, allocations: 0 / 2.836 GB, free: 233.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001591/5.497, allocations: 325 kB / 2.836 GB, free: 232.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/5.497, allocations: 66.8 kB / 2.836 GB, free: 232.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/5.497, allocations: 147.7 kB / 2.837 GB, free: 232.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/5.497, allocations: 89.88 kB / 2.837 GB, free: 232.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/5.497, allocations: 3.594 kB / 2.837 GB, free: 232.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000383/5.498, allocations: 237.6 kB / 2.837 GB, free: 232.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/5.498, allocations: 4.531 kB / 2.837 GB, free: 232.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/5.498, allocations: 7.734 kB / 2.837 GB, free: 232.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/5.498, allocations: 14.73 kB / 2.837 GB, free: 232.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/5.498, allocations: 54.52 kB / 2.837 GB, free: 232.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/5.498, allocations: 13.23 kB / 2.837 GB, free: 232.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/5.498, allocations: 29.64 kB / 2.837 GB, free: 232.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/5.498, allocations: 8.344 kB / 2.837 GB, free: 232.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 8.288e-05/5.498, allocations: 113.5 kB / 2.837 GB, free: 232.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.564e-05/5.498, allocations: 12.72 kB / 2.837 GB, free: 232.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004028/5.499, allocations: 210.7 kB / 2.837 GB, free: 232.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/5.499, allocations: 0 / 2.837 GB, free: 232.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/5.499, allocations: 3.562 kB / 2.837 GB, free: 232.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/5.499, allocations: 3.984 kB / 2.837 GB, free: 232.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005126/5.499, allocations: 486.1 kB / 2.838 GB, free: 231.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/5.499, allocations: 0 / 2.838 GB, free: 231.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/5.5, allocations: 29.67 kB / 2.838 GB, free: 231.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/5.5, allocations: 3.406 kB / 2.838 GB, free: 231.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/5.5, allocations: 4 kB / 2.838 GB, free: 231.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/5.5, allocations: 7.312 kB / 2.838 GB, free: 231.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/5.5, allocations: 2.625 kB / 2.838 GB, free: 231.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003142/5.5, allocations: 285.2 kB / 2.838 GB, free: 231.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.233e-05/5.5, allocations: 117.7 kB / 2.838 GB, free: 231.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/5.5, allocations: 0 / 2.838 GB, free: 231.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/5.5, allocations: 15.47 kB / 2.838 GB, free: 231.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.806e-05/5.5, allocations: 10.48 kB / 2.838 GB, free: 231.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/5.5, allocations: 13.03 kB / 2.838 GB, free: 231.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.314e-05/5.5, allocations: 120.6 kB / 2.838 GB, free: 231.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/5.5, allocations: 0 / 2.838 GB, free: 231.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005763/5.501, allocations: 139.2 kB / 2.839 GB, free: 231.4 MB / 0.6511 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0008597/5.502, allocations: 0.7245 MB / 2.839 GB, free: 231 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00027/5.502, allocations: 166.3 kB / 2.839 GB, free: 231 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/5.502, allocations: 0 / 2.839 GB, free: 231 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.889e-05/5.502, allocations: 72.69 kB / 2.839 GB, free: 231 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/5.503, allocations: 48.72 kB / 2.84 GB, free: 230.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005048/5.503, allocations: 226.8 kB / 2.84 GB, free: 230.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/5.503, allocations: 0.7425 MB / 2.84 GB, free: 230.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002683/5.504, allocations: 51.81 kB / 2.841 GB, free: 230 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.323e-05/5.504, allocations: 19.97 kB / 2.841 GB, free: 230 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/5.504, allocations: 0 / 2.841 GB, free: 230 MB / 0.6511 GB Notification: Performance of Templates: time 0.009979/5.514, allocations: 6.991 MB / 2.847 GB, free: 223.1 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.pipe 2>&1)