Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.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.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7536/0.7536, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001347/0.001347, allocations: 180.9 kB / 169.7 MB, free: 1.73 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.725/1.725, allocations: 205.1 MB / 404.5 MB, free: 1.645 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.0009736/0.0009736, allocations: 95.55 kB / 481.8 MB, free: 4.289 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.776e-05/3.779e-05, allocations: 0 / 0.5532 GB, free: 54.85 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1918, allocations: 76.75 MB / 0.6281 GB, free: 10.04 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.728/5.919, allocations: 2.165 GB / 2.793 GB, free: 163.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/5.92, allocations: 71.97 kB / 2.793 GB, free: 163.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.08958/6.009, allocations: 30.19 MB / 2.822 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.873e-06/6.009, allocations: 0 / 2.822 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.303e-06/6.009, allocations: 0 / 2.822 GB, free: 133.3 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004137/6.01, allocations: 374.4 kB / 2.823 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/6.01, allocations: 19.91 kB / 2.823 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005614/6.01, allocations: 36.48 kB / 2.823 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.592e-05/6.011, allocations: 167 kB / 2.823 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/6.011, allocations: 0 / 2.823 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.846e-05/6.011, allocations: 19.97 kB / 2.823 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/6.011, allocations: 69.67 kB / 2.823 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/6.011, allocations: 3.953 kB / 2.823 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/6.011, allocations: 4 kB / 2.823 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/6.011, allocations: 0 / 2.823 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/6.011, allocations: 43.97 kB / 2.823 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002261/6.011, allocations: 185.5 kB / 2.823 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/6.012, allocations: 86.64 kB / 2.823 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.698e-05/6.012, allocations: 28.86 kB / 2.823 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002395/6.012, allocations: 178.5 kB / 2.824 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/6.012, allocations: 50.48 kB / 2.824 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=12): time 1.864e-06/6.012, allocations: 0 / 2.824 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19): time 0.001577/6.014, allocations: 0.5036 MB / 2.824 GB, free: 131.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/6.014, allocations: 55.41 kB / 2.824 GB, free: 131.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.749e-05/6.014, allocations: 93 kB / 2.824 GB, free: 131.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/6.014, allocations: 37.62 kB / 2.824 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 1.68e-05/6.014, allocations: 80.52 kB / 2.824 GB, free: 131 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.712e-05/6.014, allocations: 67 kB / 2.824 GB, free: 131 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.968e-06/6.014, allocations: 4 kB / 2.824 GB, free: 131 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 4.948e-05/6.014, allocations: 322.8 kB / 2.825 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.428e-05/6.014, allocations: 36.12 kB / 2.825 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/6.014, allocations: 67.42 kB / 2.825 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/6.014, allocations: 39.97 kB / 2.825 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/6.014, allocations: 0 / 2.825 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000287/6.014, allocations: 149.4 kB / 2.825 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/6.014, allocations: 8.781 kB / 2.825 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.391e-06/6.015, allocations: 0 / 2.825 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/6.015, allocations: 15.94 kB / 2.825 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/6.015, allocations: 39.92 kB / 2.825 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/6.015, allocations: 4 kB / 2.825 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.15e-05/6.015, allocations: 0 / 2.825 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/6.015, allocations: 12 kB / 2.825 GB, free: 130.3 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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 6.921e-05/6.015, allocations: 109.5 kB / 2.825 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/6.015, allocations: 7.906 kB / 2.825 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.347e-05/6.015, allocations: 16.22 kB / 2.825 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/6.015, allocations: 0 / 2.825 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/6.015, allocations: 11.95 kB / 2.825 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/6.015, allocations: 0 / 2.825 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/6.015, allocations: 201.5 kB / 2.825 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/6.015, allocations: 3.984 kB / 2.825 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/6.016, allocations: 31.98 kB / 2.826 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/6.016, allocations: 4 kB / 2.826 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/6.016, allocations: 4 kB / 2.826 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/6.016, allocations: 288 / 2.826 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/6.016, allocations: 7.953 kB / 2.826 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/6.016, allocations: 208.2 kB / 2.826 GB, free: 129.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.09e-05/6.016, allocations: 97.06 kB / 2.826 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/6.016, allocations: 0 / 2.826 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/6.016, allocations: 8 kB / 2.826 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.557e-05/6.016, allocations: 11.94 kB / 2.826 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/6.016, allocations: 8 kB / 2.826 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 2.144e-05/6.016, allocations: 83.22 kB / 2.826 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/6.016, allocations: 0 / 2.826 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003516/6.017, allocations: 64.08 kB / 2.826 GB, free: 129.3 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0005941/6.017, allocations: 0.5549 MB / 2.827 GB, free: 128.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001893/6.017, allocations: 111.8 kB / 2.827 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/6.017, allocations: 0 / 2.827 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.722e-05/6.018, allocations: 47.94 kB / 2.827 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/6.018, allocations: 19.88 kB / 2.827 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006479/6.018, allocations: 458.9 kB / 2.827 GB, free: 128.1 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/6.019, allocations: 0.705 MB / 2.828 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001501/6.019, allocations: 20.77 kB / 2.828 GB, free: 127.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.526e-05/6.019, allocations: 15.44 kB / 2.828 GB, free: 127.3 MB / 0.6511 GB Notification: Performance of SimCode: time 2.9e-07/6.019, allocations: 0 / 2.828 GB, free: 127.3 MB / 0.6511 GB Notification: Performance of Templates: time 0.01226/6.031, allocations: 9.796 MB / 2.837 GB, free: 117.5 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)