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.807/0.807, allocations: 128.7 MB / 143.7 MB, free: 2.312 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.001104/0.001104, allocations: 172.4 kB / 173.8 MB, free: 6.113 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.944/1.944, allocations: 205.4 MB / 409 MB, free: 10.51 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.0009685/0.0009685, allocations: 100 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004128/0.0004125, allocations: 10.44 kB / 0.5603 GB, free: 97.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1916, allocations: 76.77 MB / 0.6353 GB, free: 30.57 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.328/6.52, allocations: 2.165 GB / 2.8 GB, free: 151.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000354/6.52, allocations: 79.95 kB / 2.8 GB, free: 151.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06084/6.581, allocations: 30.26 MB / 2.83 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.555e-06/6.581, allocations: 0 / 2.83 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.837e-06/6.581, allocations: 0 / 2.83 GB, free: 125.9 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.0006006/6.582, allocations: 382.1 kB / 2.83 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.973e-05/6.582, allocations: 8.031 kB / 2.83 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004092/6.582, allocations: 43.36 kB / 2.83 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/6.583, allocations: 171 kB / 2.83 GB, free: 125.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/6.583, allocations: 0 / 2.83 GB, free: 125.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/6.583, allocations: 15.22 kB / 2.83 GB, free: 125.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/6.583, allocations: 72.09 kB / 2.83 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/6.583, allocations: 3.953 kB / 2.83 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/6.583, allocations: 4 kB / 2.83 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-05/6.583, allocations: 0 / 2.83 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/6.583, allocations: 43.14 kB / 2.83 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002356/6.583, allocations: 179.8 kB / 2.831 GB, free: 124.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/6.584, allocations: 96.8 kB / 2.831 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002273/6.584, allocations: 174.2 kB / 2.831 GB, free: 124.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/6.584, allocations: 33.62 kB / 2.831 GB, free: 124.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/6.584, allocations: 4 kB / 2.831 GB, free: 124.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19): time 0.001272/6.585, allocations: 0.5514 MB / 2.831 GB, free: 124 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/6.585, allocations: 51.41 kB / 2.832 GB, free: 123.9 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.732e-05/6.585, allocations: 93 kB / 2.832 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/6.585, allocations: 29.64 kB / 2.832 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 2.808e-05/6.585, allocations: 80.52 kB / 2.832 GB, free: 123.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.097e-05/6.585, allocations: 70 kB / 2.832 GB, free: 123.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-06/6.585, allocations: 6.938 kB / 2.832 GB, free: 123.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.883e-05/6.585, allocations: 314.1 kB / 2.832 GB, free: 123.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.435e-05/6.586, allocations: 38.41 kB / 2.832 GB, free: 123.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.217e-05/6.586, allocations: 73.66 kB / 2.832 GB, free: 123.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.851e-05/6.586, allocations: 38.75 kB / 2.832 GB, free: 123.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/6.586, allocations: 0 / 2.832 GB, free: 123.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001977/6.586, allocations: 164.7 kB / 2.832 GB, free: 123.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/6.586, allocations: 8 kB / 2.832 GB, free: 123.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/6.586, allocations: 0 / 2.832 GB, free: 123.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/6.586, allocations: 4 kB / 2.832 GB, free: 123.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/6.586, allocations: 39.88 kB / 2.832 GB, free: 123 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/6.586, allocations: 4 kB / 2.832 GB, free: 123 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.967e-05/6.586, allocations: 7.562 kB / 2.832 GB, free: 123 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/6.586, allocations: 11.94 kB / 2.832 GB, free: 123 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 () * Number of clocked 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 9.229e-05/6.586, allocations: 121 kB / 2.833 GB, free: 122.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/6.586, allocations: 7.906 kB / 2.833 GB, free: 122.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.928e-05/6.586, allocations: 18.5 kB / 2.833 GB, free: 122.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/6.586, allocations: 7.938 kB / 2.833 GB, free: 122.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/6.586, allocations: 7.938 kB / 2.833 GB, free: 122.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/6.586, allocations: 0 / 2.833 GB, free: 122.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/6.587, allocations: 192 kB / 2.833 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/6.587, allocations: 4 kB / 2.833 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/6.587, allocations: 35.98 kB / 2.833 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/6.587, allocations: 0 / 2.833 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/6.587, allocations: 11.23 kB / 2.833 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/6.587, allocations: 4 kB / 2.833 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/6.587, allocations: 0 / 2.833 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/6.587, allocations: 207.1 kB / 2.833 GB, free: 122.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.077e-05/6.587, allocations: 93 kB / 2.833 GB, free: 122.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/6.587, allocations: 7.625 kB / 2.833 GB, free: 122.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/6.587, allocations: 11.61 kB / 2.833 GB, free: 122.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/6.587, allocations: 7.984 kB / 2.833 GB, free: 122.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/6.587, allocations: 11.95 kB / 2.833 GB, free: 122.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.042e-05/6.587, allocations: 78.84 kB / 2.833 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/6.587, allocations: 0 / 2.833 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003931/6.588, allocations: 60.98 kB / 2.833 GB, free: 122.2 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 () * Number of clocked 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.0007713/6.589, allocations: 0.5625 MB / 2.834 GB, free: 121.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001996/6.589, allocations: 105.5 kB / 2.834 GB, free: 121.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/6.589, allocations: 0 / 2.834 GB, free: 121.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.434e-05/6.589, allocations: 50.73 kB / 2.834 GB, free: 121.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/6.589, allocations: 19.62 kB / 2.834 GB, free: 121.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008776/6.59, allocations: 0.6066 MB / 2.835 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/6.59, allocations: 0.7011 MB / 2.835 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001308/6.59, allocations: 28.62 kB / 2.835 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.371e-05/6.59, allocations: 15.44 kB / 2.835 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/6.59, allocations: 0 / 2.835 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of Templates: time 0.01131/6.602, allocations: 8.146 MB / 2.843 GB, free: 111.9 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)