Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.587/1.587, allocations: 252 MB / 268 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009601/0.0009601, allocations: 176.4 kB / 327.6 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.716/1.716, allocations: 205.4 MB / 0.5786 GB, free: 20.5 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007582/0.0007582, allocations: 86 kB / 0.6832 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003668, allocations: 9.062 kB / 0.7976 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2348, allocations: 106.3 MB / 0.9014 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001436/0.2363, allocations: 1.052 MB / 0.9025 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1572/0.3936, allocations: 144.3 MB / 1.043 GB, free: 13.93 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.93e-05/0.3937, allocations: 0 / 1.043 GB, free: 13.93 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5.517e-05/0.3937, allocations: 0 / 1.043 GB, free: 13.93 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.3939, allocations: 15.91 kB / 1.043 GB, free: 13.91 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009582/0.3948, allocations: 294.9 kB / 1.044 GB, free: 13.62 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.395, allocations: 95.66 kB / 1.044 GB, free: 13.53 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.887e-05/0.395, allocations: 0 / 1.044 GB, free: 13.53 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.559e-05/0.3951, allocations: 27.97 kB / 1.044 GB, free: 13.5 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.3952, allocations: 35.83 kB / 1.044 GB, free: 13.47 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.3952, allocations: 4 kB / 1.044 GB, free: 13.46 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009522/0.3962, allocations: 0.4909 MB / 1.044 GB, free: 12.97 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.979e-05/0.3962, allocations: 15.98 kB / 1.044 GB, free: 12.96 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.542e-05/0.3963, allocations: 61.55 kB / 1.044 GB, free: 12.89 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.3965, allocations: 108 kB / 1.044 GB, free: 12.79 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3966, allocations: 4 kB / 1.044 GB, free: 12.78 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3966, allocations: 0 / 1.044 GB, free: 12.78 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.3966, allocations: 0 / 1.044 GB, free: 12.78 MB / 0.698 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.0004649/0.3971, allocations: 368.1 kB / 1.045 GB, free: 12.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.3971, allocations: 12.03 kB / 1.045 GB, free: 12.36 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004132/0.3975, allocations: 40.8 kB / 1.045 GB, free: 12.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.3977, allocations: 168.4 kB / 1.045 GB, free: 12.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.3977, allocations: 3.938 kB / 1.045 GB, free: 12.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/0.3977, allocations: 12 kB / 1.045 GB, free: 12.11 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.3979, allocations: 77.64 kB / 1.045 GB, free: 12.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.3979, allocations: 3.938 kB / 1.045 GB, free: 12.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.3979, allocations: 0 / 1.045 GB, free: 12.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.3979, allocations: 0 / 1.045 GB, free: 12.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.184e-05/0.398, allocations: 51.89 kB / 1.045 GB, free: 11.97 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002085/0.3983, allocations: 193.4 kB / 1.045 GB, free: 11.73 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.3984, allocations: 94.61 kB / 1.045 GB, free: 11.63 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.012e-05/0.3985, allocations: 33.17 kB / 1.045 GB, free: 11.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002387/0.3988, allocations: 190.1 kB / 1.046 GB, free: 11.37 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.3988, allocations: 34.56 kB / 1.046 GB, free: 11.33 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.3988, allocations: 0 / 1.046 GB, free: 11.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001337/0.4001, allocations: 0.5343 MB / 1.046 GB, free: 10.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.4002, allocations: 55.41 kB / 1.046 GB, free: 10.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.152e-05/0.4003, allocations: 105.8 kB / 1.046 GB, free: 10.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.4003, allocations: 33.7 kB / 1.046 GB, free: 10.53 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.197e-05/0.4004, allocations: 80.52 kB / 1.046 GB, free: 10.45 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.843e-05/0.4004, allocations: 67 kB / 1.047 GB, free: 10.38 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/0.4004, allocations: 4 kB / 1.047 GB, free: 10.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.4006, allocations: 322.8 kB / 1.047 GB, free: 10.05 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.118e-05/0.4007, allocations: 35.92 kB / 1.047 GB, free: 10.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.744e-05/0.4007, allocations: 71.53 kB / 1.047 GB, free: 9.934 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.4009, allocations: 119.3 kB / 1.047 GB, free: 9.805 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4009, allocations: 0 / 1.047 GB, free: 9.805 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002198/0.4011, allocations: 153.5 kB / 1.047 GB, free: 9.648 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.4012, allocations: 8 kB / 1.047 GB, free: 9.641 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.4012, allocations: 0 / 1.047 GB, free: 9.641 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.4012, allocations: 0 / 1.047 GB, free: 9.641 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.4014, allocations: 43.92 kB / 1.047 GB, free: 9.598 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.4014, allocations: 8 kB / 1.047 GB, free: 9.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.435e-05/0.4015, allocations: 8.062 kB / 1.047 GB, free: 9.582 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.4015, allocations: 12 kB / 1.047 GB, free: 9.57 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.4016, allocations: 121.8 kB / 1.047 GB, free: 9.441 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.4016, allocations: 7.906 kB / 1.047 GB, free: 9.434 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.389e-05/0.4017, allocations: 20.42 kB / 1.047 GB, free: 9.414 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.4017, allocations: 4 kB / 1.047 GB, free: 9.41 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4017, allocations: 0 / 1.047 GB, free: 9.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.4017, allocations: 7.938 kB / 1.047 GB, free: 9.402 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.4019, allocations: 189.6 kB / 1.048 GB, free: 9.168 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4019, allocations: 0 / 1.048 GB, free: 9.168 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.4021, allocations: 39.98 kB / 1.048 GB, free: 9.129 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.4021, allocations: 0 / 1.048 GB, free: 9.129 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.4021, allocations: 0 / 1.048 GB, free: 9.129 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.4021, allocations: 0 / 1.048 GB, free: 9.129 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4021, allocations: 7.875 kB / 1.048 GB, free: 9.121 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.4024, allocations: 216.8 kB / 1.048 GB, free: 8.891 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.192e-05/0.4025, allocations: 93 kB / 1.048 GB, free: 8.781 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.4026, allocations: 8.047 kB / 1.048 GB, free: 8.773 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.4027, allocations: 8 kB / 1.048 GB, free: 8.766 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.4027, allocations: 15.92 kB / 1.048 GB, free: 8.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.4027, allocations: 7.984 kB / 1.048 GB, free: 8.742 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.285e-05/0.4028, allocations: 79.28 kB / 1.048 GB, free: 8.664 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4028, allocations: 0 / 1.048 GB, free: 8.664 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002067/0.403, allocations: 28 kB / 1.048 GB, free: 8.637 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001437/0.4032, allocations: 107.3 kB / 1.048 GB, free: 8.52 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001845/0.4033, allocations: 110.2 kB / 1.048 GB, free: 8.414 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4034, allocations: 0 / 1.048 GB, free: 8.414 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.057e-05/0.4034, allocations: 55.91 kB / 1.048 GB, free: 8.359 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.4037, allocations: 12 kB / 1.048 GB, free: 8.348 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009304/0.4046, allocations: 0.6453 MB / 1.049 GB, free: 7.672 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.4049, allocations: 0.6972 MB / 1.05 GB, free: 6.949 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.067e-05/0.405, allocations: 15.44 kB / 1.05 GB, free: 6.934 MB / 0.698 GB Notification: Performance of SimCode: time 5.01e-07/0.405, allocations: 4 kB / 1.05 GB, free: 6.93 MB / 0.698 GB Notification: Performance of Templates: time 0.002794/0.4078, allocations: 1.288 MB / 1.051 GB, free: 5.637 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)