Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.28/1.28, allocations: 252 MB / 267.9 MB, free: 10.94 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000987/0.0009873, allocations: 174 kB / 327.5 MB, free: 2.176 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.4 MB / 0.5785 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007792/0.0007792, allocations: 94.3 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.0003871, allocations: 12.44 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1901, allocations: 106.3 MB / 0.9012 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.693/3.884, allocations: 2.208 GB / 3.109 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/3.884, allocations: 72.72 kB / 3.109 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.4189/4.303, allocations: 29.71 MB / 3.138 GB, free: 330.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.353e-06/4.303, allocations: 0 / 3.138 GB, free: 330.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.841e-06/4.303, allocations: 5.312 kB / 3.138 GB, free: 330.4 MB / 0.8855 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.0003473/4.303, allocations: 379.2 kB / 3.139 GB, free: 330 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/4.303, allocations: 8.844 kB / 3.139 GB, free: 330 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003437/4.304, allocations: 39.27 kB / 3.139 GB, free: 330 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.659e-05/4.304, allocations: 165.4 kB / 3.139 GB, free: 329.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/4.304, allocations: 7.312 kB / 3.139 GB, free: 329.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/4.304, allocations: 13.25 kB / 3.139 GB, free: 329.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/4.304, allocations: 79.66 kB / 3.139 GB, free: 329.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/4.304, allocations: 1.5 kB / 3.139 GB, free: 329.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/4.304, allocations: 5.188 kB / 3.139 GB, free: 329.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/4.304, allocations: 1.375 kB / 3.139 GB, free: 329.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.977e-05/4.304, allocations: 40.56 kB / 3.139 GB, free: 329.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001517/4.304, allocations: 185 kB / 3.139 GB, free: 329.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/4.304, allocations: 93.81 kB / 3.139 GB, free: 329.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.291e-05/4.305, allocations: 32.98 kB / 3.139 GB, free: 329.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/4.305, allocations: 176.2 kB / 3.139 GB, free: 329.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/4.305, allocations: 35.88 kB / 3.14 GB, free: 329.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/4.305, allocations: 0 / 3.14 GB, free: 329.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.001084/4.306, allocations: 0.5466 MB / 3.14 GB, free: 329 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.042e-05/4.306, allocations: 53.03 kB / 3.14 GB, free: 329 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.096e-05/4.306, allocations: 95.88 kB / 3.14 GB, free: 328.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/4.306, allocations: 31.86 kB / 3.14 GB, free: 328.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 1.379e-05/4.306, allocations: 91.91 kB / 3.14 GB, free: 328.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.375e-05/4.306, allocations: 69.34 kB / 3.14 GB, free: 328.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-06/4.306, allocations: 4.812 kB / 3.14 GB, free: 328.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 4.247e-05/4.306, allocations: 319.7 kB / 3.141 GB, free: 328.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.058e-05/4.306, allocations: 36.52 kB / 3.141 GB, free: 328.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.081e-05/4.306, allocations: 65.33 kB / 3.141 GB, free: 328.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/4.306, allocations: 120.3 kB / 3.141 GB, free: 328.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/4.306, allocations: 3.938 kB / 3.141 GB, free: 328.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000213/4.307, allocations: 160.1 kB / 3.141 GB, free: 328.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/4.307, allocations: 5.562 kB / 3.141 GB, free: 328.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/4.307, allocations: 1.25 kB / 3.141 GB, free: 328.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/4.307, allocations: 1.469 kB / 3.141 GB, free: 328.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/4.307, allocations: 36.06 kB / 3.141 GB, free: 328.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/4.307, allocations: 5.156 kB / 3.141 GB, free: 328.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.186e-05/4.307, allocations: 6.375 kB / 3.141 GB, free: 328.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/4.307, allocations: 4.406 kB / 3.141 GB, free: 328.3 MB / 0.8855 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 6.425e-05/4.307, allocations: 134.4 kB / 3.141 GB, free: 328.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/4.307, allocations: 8.906 kB / 3.141 GB, free: 328.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.02e-05/4.307, allocations: 17.53 kB / 3.141 GB, free: 328.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/4.307, allocations: 1.281 kB / 3.141 GB, free: 328.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/4.307, allocations: 1.438 kB / 3.141 GB, free: 328.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/4.307, allocations: 0 / 3.141 GB, free: 328.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/4.307, allocations: 199.2 kB / 3.141 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/4.307, allocations: 4.656 kB / 3.141 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/4.307, allocations: 39.8 kB / 3.142 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/4.307, allocations: 9.469 kB / 3.142 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/4.307, allocations: 1.281 kB / 3.142 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/4.307, allocations: 1.156 kB / 3.142 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/4.307, allocations: 0 / 3.142 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/4.308, allocations: 211.3 kB / 3.142 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.095e-05/4.308, allocations: 93.36 kB / 3.142 GB, free: 327.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/4.308, allocations: 4.875 kB / 3.142 GB, free: 327.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.994e-05/4.308, allocations: 3.625 kB / 3.142 GB, free: 327.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/4.308, allocations: 17.2 kB / 3.142 GB, free: 327.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/4.308, allocations: 8.188 kB / 3.142 GB, free: 327.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 1.663e-05/4.308, allocations: 77.16 kB / 3.142 GB, free: 327.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.11e-07/4.308, allocations: 0 / 3.142 GB, free: 327.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003265/4.308, allocations: 64 kB / 3.142 GB, free: 327.7 MB / 0.8855 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.0006334/4.309, allocations: 0.5553 MB / 3.143 GB, free: 327.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001822/4.309, allocations: 107.6 kB / 3.143 GB, free: 327.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/4.309, allocations: 1.156 kB / 3.143 GB, free: 327.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.634e-05/4.309, allocations: 56.27 kB / 3.143 GB, free: 327.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/4.309, allocations: 20.66 kB / 3.143 GB, free: 327.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006913/4.31, allocations: 0.6082 MB / 3.143 GB, free: 327.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/4.31, allocations: 0.7034 MB / 3.144 GB, free: 326.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001354/4.31, allocations: 28.03 kB / 3.144 GB, free: 326.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.078e-05/4.31, allocations: 18 kB / 3.144 GB, free: 326.3 MB / 0.8855 GB Notification: Performance of SimCode: time 8.72e-07/4.31, allocations: 4.969 kB / 3.144 GB, free: 326.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.0112/4.322, allocations: 8.149 MB / 3.152 GB, free: 325.6 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)