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.616/1.616, allocations: 289.7 MB / 302.3 MB, free: 2.172 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.001191/0.001191, allocations: 179 kB / 371.6 MB, free: 3.379 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.72/1.72, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009147/0.0009147, allocations: 90.98 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.412e-05/3.414e-05, allocations: 7.984 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3014, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.629/6.93, allocations: 2.09 GB / 3.069 GB, free: 108 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003236/6.93, allocations: 66.64 kB / 3.069 GB, free: 107.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.05635/6.987, allocations: 29.99 MB / 3.099 GB, free: 83.15 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.074e-06/6.987, allocations: 0 / 3.099 GB, free: 83.15 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.456e-06/6.987, allocations: 0 / 3.099 GB, free: 83.15 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.0004179/6.987, allocations: 376.1 kB / 3.099 GB, free: 82.75 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/6.987, allocations: 8.031 kB / 3.099 GB, free: 82.74 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003683/6.988, allocations: 42.23 kB / 3.099 GB, free: 82.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/6.988, allocations: 171 kB / 3.099 GB, free: 82.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/6.988, allocations: 11.69 kB / 3.099 GB, free: 82.49 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/6.988, allocations: 8.188 kB / 3.099 GB, free: 82.48 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/6.988, allocations: 76.72 kB / 3.099 GB, free: 82.41 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/6.988, allocations: 3.938 kB / 3.099 GB, free: 82.41 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/6.988, allocations: 0 / 3.099 GB, free: 82.41 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/6.988, allocations: 4 kB / 3.099 GB, free: 82.41 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.299e-05/6.988, allocations: 43.17 kB / 3.099 GB, free: 82.37 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/6.989, allocations: 180.8 kB / 3.1 GB, free: 82.16 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/6.989, allocations: 81.66 kB / 3.1 GB, free: 82.08 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.62e-05/6.989, allocations: 36.38 kB / 3.1 GB, free: 82.05 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002199/6.989, allocations: 177.5 kB / 3.1 GB, free: 81.84 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.861e-05/6.989, allocations: 30.56 kB / 3.1 GB, free: 81.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/6.989, allocations: 0 / 3.1 GB, free: 81.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.001098/6.99, allocations: 0.5181 MB / 3.1 GB, free: 81.29 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/6.99, allocations: 51.41 kB / 3.101 GB, free: 81.23 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.309e-05/6.99, allocations: 100.8 kB / 3.101 GB, free: 81.13 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/6.99, allocations: 29.33 kB / 3.101 GB, free: 81.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 1.961e-05/6.99, allocations: 80.52 kB / 3.101 GB, free: 81.01 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/6.99, allocations: 73.5 kB / 3.101 GB, free: 80.95 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/6.99, allocations: 7.688 kB / 3.101 GB, free: 80.95 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.568e-05/6.99, allocations: 314.1 kB / 3.101 GB, free: 80.63 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.124e-05/6.991, allocations: 34.98 kB / 3.101 GB, free: 80.61 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.829e-05/6.991, allocations: 76 kB / 3.101 GB, free: 80.54 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.685e-05/6.991, allocations: 45.95 kB / 3.101 GB, free: 80.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/6.991, allocations: 0 / 3.101 GB, free: 80.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001827/6.991, allocations: 150.8 kB / 3.101 GB, free: 80.38 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/6.991, allocations: 5.25 kB / 3.101 GB, free: 80.38 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/6.991, allocations: 3.938 kB / 3.101 GB, free: 80.37 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/6.991, allocations: 4 kB / 3.101 GB, free: 80.37 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/6.991, allocations: 39.92 kB / 3.101 GB, free: 80.33 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/6.991, allocations: 0 / 3.101 GB, free: 80.33 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.155e-05/6.991, allocations: 7.25 kB / 3.101 GB, free: 80.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/6.991, allocations: 15.2 kB / 3.101 GB, free: 80.31 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 () * 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 5.765e-05/6.991, allocations: 116 kB / 3.102 GB, free: 80.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.744e-05/6.991, allocations: 19.56 kB / 3.102 GB, free: 80.18 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.002e-05/6.991, allocations: 12.66 kB / 3.102 GB, free: 80.18 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/6.991, allocations: 4 kB / 3.102 GB, free: 80.17 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/6.991, allocations: 128 / 3.102 GB, free: 80.17 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/6.991, allocations: 0 / 3.102 GB, free: 80.17 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/6.991, allocations: 203.2 kB / 3.102 GB, free: 79.94 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/6.991, allocations: 0 / 3.102 GB, free: 79.94 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/6.992, allocations: 39.92 kB / 3.102 GB, free: 79.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/6.992, allocations: 4 kB / 3.102 GB, free: 79.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/6.992, allocations: 3.688 kB / 3.102 GB, free: 79.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/6.992, allocations: 0 / 3.102 GB, free: 79.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/6.992, allocations: 3.984 kB / 3.102 GB, free: 79.89 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/6.992, allocations: 197.3 kB / 3.102 GB, free: 79.72 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/6.992, allocations: 93 kB / 3.102 GB, free: 79.61 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/6.992, allocations: 3.938 kB / 3.102 GB, free: 79.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/6.992, allocations: 15.55 kB / 3.102 GB, free: 79.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/6.992, allocations: 7.984 kB / 3.102 GB, free: 79.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/6.992, allocations: 11.31 kB / 3.102 GB, free: 79.58 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.31e-05/6.992, allocations: 75.28 kB / 3.102 GB, free: 79.51 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.31e-07/6.992, allocations: 0 / 3.102 GB, free: 79.51 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003424/6.993, allocations: 66.17 kB / 3.102 GB, free: 79.47 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 () * 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.0007103/6.993, allocations: 0.5547 MB / 3.103 GB, free: 78.93 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001625/6.994, allocations: 106 kB / 3.103 GB, free: 78.84 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/6.994, allocations: 0 / 3.103 GB, free: 78.84 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.551e-05/6.994, allocations: 52.94 kB / 3.103 GB, free: 78.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/6.994, allocations: 8.359 kB / 3.103 GB, free: 78.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006209/6.994, allocations: 475.7 kB / 3.103 GB, free: 78.33 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/6.995, allocations: 0.7011 MB / 3.104 GB, free: 77.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001195/6.995, allocations: 28.75 kB / 3.104 GB, free: 77.57 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/6.995, allocations: 15.44 kB / 3.104 GB, free: 77.56 MB / 0.948 GB Notification: Performance of SimCode: time 2.31e-07/6.995, allocations: 0 / 3.104 GB, free: 77.56 MB / 0.948 GB Notification: Performance of Templates: time 0.01135/7.006, allocations: 9.764 MB / 3.114 GB, free: 67.8 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)