Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.675/1.675, allocations: 288.4 MB / 304.3 MB, free: 8.008 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.001004/0.001004, allocations: 185.5 kB / 373 MB, free: 10.13 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.562/1.562, allocations: 205.4 MB / 0.6317 GB, free: 9.922 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009026/0.0009026, allocations: 105 kB / 0.745 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003909/0.000391, allocations: 15.5 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2186, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.587/4.806, allocations: 2.089 GB / 3.07 GB, free: 228.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003534/4.806, allocations: 73 kB / 3.07 GB, free: 228.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.05642/4.862, allocations: 30.07 MB / 3.099 GB, free: 198.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.286e-06/4.863, allocations: 0 / 3.099 GB, free: 198.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.808e-06/4.863, allocations: 0 / 3.099 GB, free: 198.5 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.000533/4.863, allocations: 387.9 kB / 3.099 GB, free: 198.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.086e-05/4.863, allocations: 12.03 kB / 3.099 GB, free: 198.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004116/4.864, allocations: 36.89 kB / 3.099 GB, free: 198 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/4.864, allocations: 164.3 kB / 3.1 GB, free: 197.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/4.864, allocations: 8.375 kB / 3.1 GB, free: 197.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/4.864, allocations: 8.281 kB / 3.1 GB, free: 197.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/4.864, allocations: 82.14 kB / 3.1 GB, free: 197.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/4.864, allocations: 4.125 kB / 3.1 GB, free: 197.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.992e-05/4.864, allocations: 7.938 kB / 3.1 GB, free: 197.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/4.864, allocations: 0 / 3.1 GB, free: 197.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/4.864, allocations: 43.97 kB / 3.1 GB, free: 197.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002566/4.864, allocations: 185.6 kB / 3.1 GB, free: 197.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/4.865, allocations: 78.61 kB / 3.1 GB, free: 197.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.887e-05/4.865, allocations: 36.88 kB / 3.1 GB, free: 197.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002319/4.865, allocations: 178.2 kB / 3.1 GB, free: 197.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/4.865, allocations: 38.55 kB / 3.1 GB, free: 197.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/4.865, allocations: 0 / 3.1 GB, free: 197.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.001464/4.866, allocations: 0.5404 MB / 3.101 GB, free: 196.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/4.867, allocations: 51.41 kB / 3.101 GB, free: 196.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.533e-05/4.867, allocations: 97.86 kB / 3.101 GB, free: 196.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/4.867, allocations: 29.7 kB / 3.101 GB, free: 196.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.803e-05/4.867, allocations: 80.52 kB / 3.101 GB, free: 196.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.626e-05/4.867, allocations: 70.98 kB / 3.101 GB, free: 196.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/4.867, allocations: 8 kB / 3.101 GB, free: 196.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.853e-05/4.867, allocations: 322.9 kB / 3.101 GB, free: 195.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.878e-05/4.867, allocations: 35.98 kB / 3.101 GB, free: 195.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.929e-05/4.867, allocations: 71.41 kB / 3.101 GB, free: 195.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/4.867, allocations: 111.3 kB / 3.102 GB, free: 195.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/4.867, allocations: 7.875 kB / 3.102 GB, free: 195.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001866/4.867, allocations: 153.5 kB / 3.102 GB, free: 195.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/4.867, allocations: 4 kB / 3.102 GB, free: 195.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/4.867, allocations: 7.984 kB / 3.102 GB, free: 195.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/4.867, allocations: 4 kB / 3.102 GB, free: 195.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/4.868, allocations: 43.92 kB / 3.102 GB, free: 195.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/4.868, allocations: 0 / 3.102 GB, free: 195.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.845e-05/4.868, allocations: 11.98 kB / 3.102 GB, free: 195.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/4.868, allocations: 4 kB / 3.102 GB, free: 195.3 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 0.000117/4.868, allocations: 135.4 kB / 3.102 GB, free: 195.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.682e-05/4.868, allocations: 7.906 kB / 3.102 GB, free: 195.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.771e-05/4.868, allocations: 20.44 kB / 3.102 GB, free: 195.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/4.868, allocations: 4 kB / 3.102 GB, free: 195.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/4.868, allocations: 0 / 3.102 GB, free: 195.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/4.868, allocations: 0 / 3.102 GB, free: 195.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/4.868, allocations: 193.6 kB / 3.102 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/4.868, allocations: 4.125 kB / 3.102 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/4.868, allocations: 43.97 kB / 3.102 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/4.868, allocations: 0 / 3.102 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/4.868, allocations: 4 kB / 3.102 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/4.868, allocations: 0 / 3.102 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/4.868, allocations: 0 / 3.102 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/4.869, allocations: 215.3 kB / 3.102 GB, free: 194.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.326e-05/4.869, allocations: 89 kB / 3.102 GB, free: 194.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/4.869, allocations: 8.047 kB / 3.102 GB, free: 194.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/4.869, allocations: 11.94 kB / 3.102 GB, free: 194.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/4.869, allocations: 11.98 kB / 3.102 GB, free: 194.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/4.869, allocations: 4 kB / 3.102 GB, free: 194.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.98e-05/4.869, allocations: 79.28 kB / 3.103 GB, free: 194.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1e-07/4.869, allocations: 4.094 kB / 3.103 GB, free: 194.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004187/4.87, allocations: 63.98 kB / 3.103 GB, free: 194.3 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.0007431/4.87, allocations: 0.5435 MB / 3.103 GB, free: 193.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002333/4.871, allocations: 108.1 kB / 3.103 GB, free: 193.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/4.871, allocations: 0 / 3.103 GB, free: 193.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.166e-05/4.871, allocations: 55.86 kB / 3.103 GB, free: 193.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/4.871, allocations: 20.64 kB / 3.103 GB, free: 193.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009159/4.872, allocations: 0.6166 MB / 3.104 GB, free: 193 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/4.872, allocations: 0.7011 MB / 3.105 GB, free: 192.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001373/4.872, allocations: 24.42 kB / 3.105 GB, free: 192.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/4.872, allocations: 15.44 kB / 3.105 GB, free: 192.2 MB / 0.948 GB Notification: Performance of SimCode: time 2.2e-07/4.872, allocations: 0 / 3.105 GB, free: 192.2 MB / 0.948 GB Notification: Performance of Templates: time 0.0114/4.884, allocations: 8.158 MB / 3.113 GB, free: 184 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)