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.625/1.625, allocations: 285.4 MB / 298 MB, free: 6.023 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.00134/0.00134, allocations: 188.8 kB / 366.4 MB, free: 2.098 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.69/1.69, allocations: 205.1 MB / 0.6248 GB, free: 7.773 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.0008763/0.0008769, allocations: 89.53 kB / 0.738 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.765e-05/3.768e-05, allocations: 4 kB / 0.8583 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8112/0.8113, allocations: 115.3 MB / 0.9709 GB, free: 77.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.562/6.373, allocations: 2.089 GB / 3.06 GB, free: 6.414 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003832/6.373, allocations: 74.14 kB / 3.06 GB, free: 6.379 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7113/7.085, allocations: 30 MB / 3.089 GB, free: 346.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.034e-06/7.085, allocations: 0 / 3.089 GB, free: 346.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.931e-06/7.085, allocations: 0 / 3.089 GB, free: 346.2 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.0003572/7.085, allocations: 374.6 kB / 3.089 GB, free: 345.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/7.085, allocations: 7.781 kB / 3.089 GB, free: 345.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003655/7.086, allocations: 41.56 kB / 3.089 GB, free: 345.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.518e-05/7.086, allocations: 168.6 kB / 3.089 GB, free: 345.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/7.086, allocations: 7.875 kB / 3.089 GB, free: 345.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/7.086, allocations: 15.03 kB / 3.089 GB, free: 345.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/7.086, allocations: 70.84 kB / 3.09 GB, free: 345.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/7.086, allocations: 3.656 kB / 3.09 GB, free: 345.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/7.086, allocations: 3.906 kB / 3.09 GB, free: 345.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/7.086, allocations: 3.938 kB / 3.09 GB, free: 345.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.255e-05/7.086, allocations: 46.84 kB / 3.09 GB, free: 345.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/7.086, allocations: 178.5 kB / 3.09 GB, free: 345.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/7.087, allocations: 83.12 kB / 3.09 GB, free: 345.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.447e-05/7.087, allocations: 29.88 kB / 3.09 GB, free: 345.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002019/7.087, allocations: 178.3 kB / 3.09 GB, free: 345.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/7.087, allocations: 37.34 kB / 3.09 GB, free: 345 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/7.087, allocations: 0 / 3.09 GB, free: 345 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.001267/7.088, allocations: 0.5096 MB / 3.091 GB, free: 344.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/7.088, allocations: 53.62 kB / 3.091 GB, free: 344.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.47e-05/7.088, allocations: 97.66 kB / 3.091 GB, free: 344.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/7.088, allocations: 30.7 kB / 3.091 GB, free: 344.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.182e-05/7.088, allocations: 84.58 kB / 3.091 GB, free: 344.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.664e-05/7.088, allocations: 72.02 kB / 3.091 GB, free: 344.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-06/7.088, allocations: 5.125 kB / 3.091 GB, free: 344.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.05e-05/7.088, allocations: 320.6 kB / 3.091 GB, free: 344.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.673e-05/7.089, allocations: 32.14 kB / 3.091 GB, free: 344 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.43e-05/7.089, allocations: 68.25 kB / 3.091 GB, free: 344 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.852e-05/7.089, allocations: 45.16 kB / 3.091 GB, free: 344 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/7.089, allocations: 0 / 3.091 GB, free: 344 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002428/7.089, allocations: 154.7 kB / 3.092 GB, free: 343.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/7.089, allocations: 5.219 kB / 3.092 GB, free: 343.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/7.089, allocations: 2.469 kB / 3.092 GB, free: 343.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/7.089, allocations: 2.531 kB / 3.092 GB, free: 343.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/7.089, allocations: 39.88 kB / 3.092 GB, free: 343.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/7.089, allocations: 5.781 kB / 3.092 GB, free: 343.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.424e-05/7.089, allocations: 5.969 kB / 3.092 GB, free: 343.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/7.089, allocations: 9.109 kB / 3.092 GB, free: 343.9 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 7.688e-05/7.089, allocations: 120.4 kB / 3.092 GB, free: 343.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.217e-05/7.089, allocations: 8.812 kB / 3.092 GB, free: 343.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.953e-05/7.089, allocations: 18.28 kB / 3.092 GB, free: 343.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/7.089, allocations: 2.766 kB / 3.092 GB, free: 343.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/7.09, allocations: 0 / 3.092 GB, free: 343.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/7.09, allocations: 1.359 kB / 3.092 GB, free: 343.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/7.09, allocations: 205.4 kB / 3.092 GB, free: 343.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/7.09, allocations: 0.75 kB / 3.092 GB, free: 343.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/7.09, allocations: 34.67 kB / 3.092 GB, free: 343.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/7.09, allocations: 2.25 kB / 3.092 GB, free: 343.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/7.09, allocations: 1.906 kB / 3.092 GB, free: 343.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/7.09, allocations: 1.406 kB / 3.092 GB, free: 343.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/7.09, allocations: 4.5 kB / 3.092 GB, free: 343.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/7.09, allocations: 207.9 kB / 3.092 GB, free: 343.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.2e-05/7.09, allocations: 96.05 kB / 3.092 GB, free: 343.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/7.09, allocations: 6.203 kB / 3.092 GB, free: 343.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/7.091, allocations: 8.891 kB / 3.092 GB, free: 343.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/7.091, allocations: 9.062 kB / 3.092 GB, free: 343.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/7.091, allocations: 4.547 kB / 3.092 GB, free: 343.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.125e-05/7.091, allocations: 81.91 kB / 3.092 GB, free: 343.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/7.091, allocations: 0 / 3.092 GB, free: 343.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004708/7.091, allocations: 64.88 kB / 3.092 GB, free: 343.2 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.00105/7.092, allocations: 0.5568 MB / 3.093 GB, free: 342.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002347/7.092, allocations: 102.8 kB / 3.093 GB, free: 342.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/7.092, allocations: 0 / 3.093 GB, free: 342.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.16e-05/7.093, allocations: 52.33 kB / 3.093 GB, free: 342.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/7.093, allocations: 10.31 kB / 3.093 GB, free: 342.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007846/7.094, allocations: 467.7 kB / 3.094 GB, free: 342.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/7.094, allocations: 0.7012 MB / 3.094 GB, free: 341.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001369/7.094, allocations: 28.28 kB / 3.094 GB, free: 341.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.877e-05/7.094, allocations: 15.69 kB / 3.094 GB, free: 341.8 MB / 0.948 GB Notification: Performance of SimCode: time 3.51e-07/7.094, allocations: 3.938 kB / 3.094 GB, free: 341.8 MB / 0.948 GB Notification: Performance of Templates: time 0.0236/7.118, allocations: 9.778 MB / 3.104 GB, free: 341 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)