Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") translateModel(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8055/0.8055, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 183.7 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 221.3 MB / 441.4 MB, free: 4.637 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008756/0.0008757, allocations: 92.5 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002208/0.002208, allocations: 280.2 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.47e-05/4.484e-05, allocations: 4 kB / 0.6834 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4991/0.4992, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.462/4.961, allocations: 1.705 GB / 2.469 GB, free: 39.13 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/4.962, allocations: 75.58 kB / 2.469 GB, free: 39.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05642/5.018, allocations: 29.72 MB / 2.498 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.974e-06/5.018, allocations: 0 / 2.498 GB, free: 13.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.664e-06/5.018, allocations: 4 kB / 2.498 GB, free: 13.84 MB / 0.698 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.000338/5.018, allocations: 367.6 kB / 2.498 GB, free: 13.44 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/5.018, allocations: 12.02 kB / 2.498 GB, free: 13.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003613/5.019, allocations: 39.88 kB / 2.498 GB, free: 13.39 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.928e-05/5.019, allocations: 167 kB / 2.499 GB, free: 13.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/5.019, allocations: 8 kB / 2.499 GB, free: 13.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.402e-05/5.019, allocations: 11.98 kB / 2.499 GB, free: 13.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/5.019, allocations: 81.48 kB / 2.499 GB, free: 13.08 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/5.019, allocations: 0 / 2.499 GB, free: 13.08 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/5.019, allocations: 0 / 2.499 GB, free: 13.08 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/5.019, allocations: 4 kB / 2.499 GB, free: 13.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.628e-05/5.019, allocations: 39.97 kB / 2.499 GB, free: 13.04 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001994/5.02, allocations: 193.4 kB / 2.499 GB, free: 12.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/5.02, allocations: 90.64 kB / 2.499 GB, free: 12.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.302e-05/5.02, allocations: 24.86 kB / 2.499 GB, free: 12.67 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002162/5.02, allocations: 178.2 kB / 2.499 GB, free: 12.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/5.02, allocations: 34.55 kB / 2.499 GB, free: 12.42 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/5.02, allocations: 0 / 2.499 GB, free: 12.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001102/5.021, allocations: 0.5077 MB / 2.5 GB, free: 11.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/5.021, allocations: 51.41 kB / 2.5 GB, free: 11.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.606e-05/5.021, allocations: 104.9 kB / 2.5 GB, free: 11.69 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/5.021, allocations: 25.7 kB / 2.5 GB, free: 11.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.41e-05/5.021, allocations: 88.52 kB / 2.5 GB, free: 11.56 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.823e-05/5.021, allocations: 63 kB / 2.5 GB, free: 11.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-06/5.021, allocations: 8 kB / 2.5 GB, free: 11.49 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.143e-05/5.021, allocations: 322.8 kB / 2.5 GB, free: 11.17 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.034e-05/5.021, allocations: 32 kB / 2.5 GB, free: 11.14 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.803e-05/5.022, allocations: 68.97 kB / 2.5 GB, free: 11.06 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.996e-05/5.022, allocations: 51.56 kB / 2.5 GB, free: 11.01 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/5.022, allocations: 0 / 2.5 GB, free: 11.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000176/5.022, allocations: 149.5 kB / 2.501 GB, free: 10.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/5.022, allocations: 7.938 kB / 2.501 GB, free: 10.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/5.022, allocations: 3.984 kB / 2.501 GB, free: 10.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/5.022, allocations: 7.984 kB / 2.501 GB, free: 10.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/5.022, allocations: 35.98 kB / 2.501 GB, free: 10.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/5.022, allocations: 3.938 kB / 2.501 GB, free: 10.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.174e-05/5.022, allocations: 8 kB / 2.501 GB, free: 10.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/5.022, allocations: 12 kB / 2.501 GB, free: 10.78 MB / 0.698 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.096e-05/5.022, allocations: 120.8 kB / 2.501 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.618e-05/5.022, allocations: 7.906 kB / 2.501 GB, free: 10.65 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.376e-05/5.022, allocations: 16.22 kB / 2.501 GB, free: 10.63 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/5.022, allocations: 4 kB / 2.501 GB, free: 10.63 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/5.022, allocations: 0 / 2.501 GB, free: 10.63 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/5.022, allocations: 3.984 kB / 2.501 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/5.022, allocations: 197.6 kB / 2.501 GB, free: 10.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/5.022, allocations: 0 / 2.501 GB, free: 10.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/5.023, allocations: 43.92 kB / 2.501 GB, free: 10.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/5.023, allocations: 0 / 2.501 GB, free: 10.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/5.023, allocations: 4 kB / 2.501 GB, free: 10.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/5.023, allocations: 0 / 2.501 GB, free: 10.34 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/5.023, allocations: 0 / 2.501 GB, free: 10.34 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/5.023, allocations: 203.1 kB / 2.501 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-05/5.023, allocations: 97.06 kB / 2.501 GB, free: 10.01 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/5.023, allocations: 256 / 2.501 GB, free: 10.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/5.023, allocations: 19.94 kB / 2.501 GB, free: 9.988 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/5.023, allocations: 11.92 kB / 2.501 GB, free: 9.977 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/5.023, allocations: 12 kB / 2.501 GB, free: 9.965 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.382e-05/5.023, allocations: 75.28 kB / 2.501 GB, free: 9.891 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/5.023, allocations: 0 / 2.501 GB, free: 9.891 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000383/5.024, allocations: 59.98 kB / 2.502 GB, free: 9.832 MB / 0.698 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.0007183/5.024, allocations: 0.547 MB / 2.502 GB, free: 9.285 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002018/5.025, allocations: 108.9 kB / 2.502 GB, free: 9.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/5.025, allocations: 0 / 2.502 GB, free: 9.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.85e-05/5.025, allocations: 55.92 kB / 2.502 GB, free: 9.125 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/5.025, allocations: 9.375 kB / 2.502 GB, free: 9.117 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006909/5.026, allocations: 466.5 kB / 2.503 GB, free: 8.633 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/5.026, allocations: 0.7089 MB / 2.503 GB, free: 7.895 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001275/5.026, allocations: 24.75 kB / 2.503 GB, free: 7.871 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.436e-05/5.026, allocations: 15.44 kB / 2.503 GB, free: 7.855 MB / 0.698 GB Notification: Performance of SimCode: time 6.11e-07/5.026, allocations: 0 / 2.503 GB, free: 7.855 MB / 0.698 GB Notification: Performance of Templates: time 0.4147/5.441, allocations: 9.788 MB / 2.513 GB, free: 255.8 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1)