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.67/1.67, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.00141/0.001409, allocations: 176.9 kB / 361.4 MB, free: 6.82 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.552/1.552, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008738/0.0008738, allocations: 100.7 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.774e-05/1.775e-05, allocations: 4 kB / 0.8517 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7799/0.7799, allocations: 115.3 MB / 0.9643 GB, free: 78.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.299/6.079, allocations: 2.088 GB / 3.052 GB, free: 28.83 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/6.08, allocations: 75.89 kB / 3.052 GB, free: 28.79 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.05491/6.135, allocations: 29.45 MB / 3.081 GB, free: 1.609 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.462e-06/6.135, allocations: 0 / 3.081 GB, free: 1.609 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.46e-06/6.135, allocations: 1.969 kB / 3.081 GB, free: 1.609 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.0003034/6.135, allocations: 379 kB / 3.082 GB, free: 1.195 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/6.135, allocations: 8.031 kB / 3.082 GB, free: 1.188 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003274/6.135, allocations: 39.81 kB / 3.082 GB, free: 1.148 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.952e-05/6.136, allocations: 171 kB / 3.082 GB, free: 0.9414 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/6.136, allocations: 0 / 3.082 GB, free: 0.9414 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/6.136, allocations: 11.91 kB / 3.082 GB, free: 0.9297 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000116/6.136, allocations: 35.97 kB / 3.082 GB, free: 0.8945 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/6.136, allocations: 69.59 kB / 3.082 GB, free: 0.8203 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/6.136, allocations: 3.938 kB / 3.082 GB, free: 0.8164 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/6.136, allocations: 0 / 3.082 GB, free: 0.8164 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/6.136, allocations: 7.953 kB / 3.082 GB, free: 0.8086 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001387/6.136, allocations: 150.2 kB / 3.082 GB, free: 0.625 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/6.136, allocations: 74.72 kB / 3.082 GB, free: 0.543 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.684e-05/6.136, allocations: 24.86 kB / 3.082 GB, free: 0.5156 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001742/6.136, allocations: 178.2 kB / 3.082 GB, free: 312 kB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/6.136, allocations: 34.56 kB / 3.082 GB, free: 268 kB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 1.173e-06/6.136, allocations: 4 kB / 3.082 GB, free: 264 kB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.6103/6.747, allocations: 481 kB / 3.083 GB, free: 336.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/6.747, allocations: 54.08 kB / 3.083 GB, free: 336.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.887e-05/6.747, allocations: 93.81 kB / 3.083 GB, free: 336.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/6.747, allocations: 29.08 kB / 3.083 GB, free: 336.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.249e-05/6.747, allocations: 82.73 kB / 3.083 GB, free: 336.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.18e-05/6.747, allocations: 63.22 kB / 3.083 GB, free: 336.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/6.747, allocations: 1 kB / 3.083 GB, free: 336.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.913e-05/6.747, allocations: 324.9 kB / 3.083 GB, free: 335.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.337e-05/6.747, allocations: 31.78 kB / 3.083 GB, free: 335.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.841e-05/6.747, allocations: 64.69 kB / 3.083 GB, free: 335.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.401e-05/6.747, allocations: 40.59 kB / 3.084 GB, free: 335.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/6.747, allocations: 0.5312 kB / 3.084 GB, free: 335.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00026/6.748, allocations: 138.7 kB / 3.084 GB, free: 335.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/6.748, allocations: 7.75 kB / 3.084 GB, free: 335.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/6.748, allocations: 4.484 kB / 3.084 GB, free: 335.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/6.748, allocations: 2.844 kB / 3.084 GB, free: 335.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/6.748, allocations: 44.47 kB / 3.084 GB, free: 335.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/6.748, allocations: 2.031 kB / 3.084 GB, free: 335.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.701e-05/6.748, allocations: 2.641 kB / 3.084 GB, free: 335.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/6.748, allocations: 6.156 kB / 3.084 GB, free: 335.8 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.128e-05/6.748, allocations: 110.2 kB / 3.084 GB, free: 335.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/6.748, allocations: 9.469 kB / 3.084 GB, free: 335.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.179e-05/6.748, allocations: 21.34 kB / 3.084 GB, free: 335.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/6.748, allocations: 4.359 kB / 3.084 GB, free: 335.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/6.748, allocations: 2.281 kB / 3.084 GB, free: 335.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/6.748, allocations: 3.156 kB / 3.084 GB, free: 335.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/6.748, allocations: 158.9 kB / 3.084 GB, free: 335.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/6.748, allocations: 2.375 kB / 3.084 GB, free: 335.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/6.749, allocations: 39.06 kB / 3.084 GB, free: 335.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/6.749, allocations: 1.031 kB / 3.084 GB, free: 335.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/6.749, allocations: 6.453 kB / 3.084 GB, free: 335.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/6.749, allocations: 4.984 kB / 3.084 GB, free: 335.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/6.749, allocations: 4.375 kB / 3.084 GB, free: 335.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/6.749, allocations: 186.6 kB / 3.084 GB, free: 335.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.365e-05/6.749, allocations: 92.39 kB / 3.084 GB, free: 335.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/6.749, allocations: 1.25 kB / 3.084 GB, free: 335.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/6.749, allocations: 5.406 kB / 3.084 GB, free: 335.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/6.749, allocations: 21.38 kB / 3.084 GB, free: 335.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/6.749, allocations: 5.797 kB / 3.084 GB, free: 335.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.259e-05/6.749, allocations: 80.97 kB / 3.084 GB, free: 335.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/6.749, allocations: 0 / 3.084 GB, free: 335.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000325/6.75, allocations: 51.27 kB / 3.085 GB, free: 335.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.000961/6.751, allocations: 0.6391 MB / 3.085 GB, free: 335.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002105/6.751, allocations: 88.05 kB / 3.085 GB, free: 335.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/6.751, allocations: 0.9062 kB / 3.085 GB, free: 335.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.297e-05/6.751, allocations: 46.08 kB / 3.085 GB, free: 335.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/6.751, allocations: 16.62 kB / 3.085 GB, free: 335.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000766/6.752, allocations: 453.5 kB / 3.086 GB, free: 335 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/6.752, allocations: 0.7111 MB / 3.086 GB, free: 334.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001419/6.752, allocations: 29.2 kB / 3.086 GB, free: 334.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/6.752, allocations: 15.94 kB / 3.086 GB, free: 334.2 MB / 0.948 GB Notification: Performance of SimCode: time 2.31e-07/6.752, allocations: 0 / 3.086 GB, free: 334.2 MB / 0.948 GB Notification: Performance of Templates: time 0.008842/6.761, allocations: 4.125 MB / 3.09 GB, free: 333.7 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)