Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.761/1.761, allocations: 292.6 MB / 307.6 MB, free: 5.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 173.1 kB / 377.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.855/1.855, allocations: 205.4 MB / 0.6367 GB, free: 8.551 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 91.16 kB / 0.751 GB, free: 63.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003954/0.000396, allocations: 15.98 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3126, allocations: 116.3 MB / 0.9884 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.586/5.898, allocations: 2.09 GB / 3.078 GB, free: 131 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/5.899, allocations: 80.47 kB / 3.078 GB, free: 130.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.05559/5.954, allocations: 30.04 MB / 3.107 GB, free: 100.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.533e-06/5.954, allocations: 0 / 3.107 GB, free: 100.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.672e-06/5.954, allocations: 0 / 3.107 GB, free: 100.9 MB / 0.948 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.0003415/5.955, allocations: 388.5 kB / 3.108 GB, free: 100.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/5.955, allocations: 16 kB / 3.108 GB, free: 100.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003469/5.955, allocations: 31.92 kB / 3.108 GB, free: 100.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.799e-05/5.955, allocations: 167 kB / 3.108 GB, free: 100.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/5.955, allocations: 1.688 kB / 3.108 GB, free: 100.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/5.955, allocations: 19.89 kB / 3.108 GB, free: 100.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/5.955, allocations: 74.25 kB / 3.108 GB, free: 100.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/5.955, allocations: 0 / 3.108 GB, free: 100.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/5.955, allocations: 8 kB / 3.108 GB, free: 100.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/5.955, allocations: 7.938 kB / 3.108 GB, free: 100.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.58e-05/5.956, allocations: 43.91 kB / 3.108 GB, free: 100.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/5.956, allocations: 177.6 kB / 3.108 GB, free: 99.84 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/5.956, allocations: 91.17 kB / 3.108 GB, free: 99.74 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/5.956, allocations: 182.2 kB / 3.109 GB, free: 99.52 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/5.956, allocations: 30.56 kB / 3.109 GB, free: 99.48 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/5.956, allocations: 0 / 3.109 GB, free: 99.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.001112/5.957, allocations: 0.5384 MB / 3.109 GB, free: 98.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/5.957, allocations: 55.41 kB / 3.109 GB, free: 98.83 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.503e-05/5.957, allocations: 96.92 kB / 3.109 GB, free: 98.73 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/5.957, allocations: 29.7 kB / 3.109 GB, free: 98.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 1.856e-05/5.957, allocations: 80.52 kB / 3.109 GB, free: 98.61 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.47e-05/5.957, allocations: 63.02 kB / 3.109 GB, free: 98.55 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-06/5.957, allocations: 8 kB / 3.109 GB, free: 98.54 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.297e-05/5.957, allocations: 322.9 kB / 3.11 GB, free: 98.21 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.167e-05/5.958, allocations: 39.98 kB / 3.11 GB, free: 98.18 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.859e-05/5.958, allocations: 72.62 kB / 3.11 GB, free: 98.09 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.727e-05/5.958, allocations: 44.86 kB / 3.11 GB, free: 98.05 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/5.958, allocations: 0 / 3.11 GB, free: 98.05 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001752/5.958, allocations: 151.4 kB / 3.11 GB, free: 97.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/5.958, allocations: 11.94 kB / 3.11 GB, free: 97.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/5.958, allocations: 1.312 kB / 3.11 GB, free: 97.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/5.958, allocations: 11.94 kB / 3.11 GB, free: 97.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/5.958, allocations: 35.98 kB / 3.11 GB, free: 97.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/5.958, allocations: 4 kB / 3.11 GB, free: 97.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.89e-05/5.958, allocations: 4 kB / 3.11 GB, free: 97.83 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/5.958, allocations: 11.94 kB / 3.11 GB, free: 97.82 MB / 0.948 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.991e-05/5.958, allocations: 129.7 kB / 3.11 GB, free: 97.68 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.618e-05/5.958, allocations: 7.906 kB / 3.11 GB, free: 97.68 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.995e-05/5.958, allocations: 16.44 kB / 3.11 GB, free: 97.66 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-06/5.958, allocations: 11.98 kB / 3.11 GB, free: 97.65 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/5.958, allocations: 0 / 3.11 GB, free: 97.65 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/5.958, allocations: 3.984 kB / 3.11 GB, free: 97.65 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/5.958, allocations: 193.7 kB / 3.111 GB, free: 97.41 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/5.958, allocations: 4 kB / 3.111 GB, free: 97.41 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/5.959, allocations: 43.92 kB / 3.111 GB, free: 97.36 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/5.959, allocations: 0 / 3.111 GB, free: 97.36 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/5.959, allocations: 0 / 3.111 GB, free: 97.36 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/5.959, allocations: 0 / 3.111 GB, free: 97.36 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/5.959, allocations: 4 kB / 3.111 GB, free: 97.36 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/5.959, allocations: 210.8 kB / 3.111 GB, free: 97.14 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.906e-05/5.959, allocations: 93 kB / 3.111 GB, free: 97.03 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/5.959, allocations: 4.062 kB / 3.111 GB, free: 97.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/5.959, allocations: 8 kB / 3.111 GB, free: 97.02 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/5.959, allocations: 11.92 kB / 3.111 GB, free: 97 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/5.959, allocations: 11.98 kB / 3.111 GB, free: 96.99 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.85e-05/5.959, allocations: 79.28 kB / 3.111 GB, free: 96.91 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/5.959, allocations: 96 / 3.111 GB, free: 96.91 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003181/5.96, allocations: 63.98 kB / 3.111 GB, free: 96.85 MB / 0.948 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.0005591/5.96, allocations: 0.5547 MB / 3.112 GB, free: 96.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001621/5.96, allocations: 103.8 kB / 3.112 GB, free: 96.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/5.96, allocations: 0 / 3.112 GB, free: 96.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.524e-05/5.96, allocations: 51.91 kB / 3.112 GB, free: 96.15 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/5.961, allocations: 15.08 kB / 3.112 GB, free: 96.14 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006651/5.961, allocations: 0.6215 MB / 3.112 GB, free: 95.49 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/5.961, allocations: 0.7011 MB / 3.113 GB, free: 94.76 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001204/5.961, allocations: 28.62 kB / 3.113 GB, free: 94.73 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.932e-05/5.961, allocations: 15.44 kB / 3.113 GB, free: 94.72 MB / 0.948 GB Notification: Performance of SimCode: time 2.4e-07/5.961, allocations: 0 / 3.113 GB, free: 94.72 MB / 0.948 GB Notification: Performance of Templates: time 0.009969/5.971, allocations: 8.1 MB / 3.121 GB, free: 86.62 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_8_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)