Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007148/0.0007148, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009576/0.001672, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006836/0.0006836, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008841/0.001568, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9675/0.9675, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08411/1.052, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001933/0.001933, allocations: 229.9 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001428/0.003361, allocations: 487.6 kB / 244.8 MB, free: 14.06 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6834/0.6834, allocations: 138.7 MB / 384.3 MB, free: 376 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0757/0.7591, allocations: 42.41 MB / 426.7 MB, free: 5.82 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") translateModel(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 428 MB, free: 4.516 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.616e-05/1.732e-05, allocations: 2.312 kB / 428 MB, free: 4.512 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002018/0.002035, allocations: 1.434 MB / 429.5 MB, free: 3.062 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.3369/0.3389, allocations: 143.8 MB / 0.5598 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.847e-05/0.339, allocations: 0 / 0.5598 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 3.024e-05/0.339, allocations: 7.922 kB / 0.5598 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 6.124e-05/0.3391, allocations: 11.94 kB / 0.5598 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005529/0.3396, allocations: 332.9 kB / 0.5601 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 8.354e-05/0.3397, allocations: 71.69 kB / 0.5602 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 2.839e-05/0.3397, allocations: 4 kB / 0.5602 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 5.513e-05/0.3398, allocations: 39.95 kB / 0.5602 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 7.918e-05/0.3399, allocations: 27.89 kB / 0.5603 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.3399, allocations: 4 kB / 0.5603 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004559/0.3403, allocations: 382.5 kB / 0.5606 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 4.188e-05/0.3404, allocations: 11.94 kB / 0.5606 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 2.283e-05/0.3404, allocations: 16 kB / 0.5607 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.3406, allocations: 155.5 kB / 0.5608 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/0.3406, allocations: 0 / 0.5608 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3406, allocations: 0 / 0.5608 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.3406, allocations: 0 / 0.5608 GB, free: 14.19 MB / 0.5417 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.0003228/0.3409, allocations: 323.8 kB / 0.5611 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 2.628e-05/0.341, allocations: 8.75 kB / 0.5611 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003004/0.3413, allocations: 136 kB / 0.5613 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.137e-05/0.3413, allocations: 109.8 kB / 0.5614 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.3413, allocations: 12.38 kB / 0.5614 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.3414, allocations: 20.45 kB / 0.5614 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.3415, allocations: 196.9 kB / 0.5616 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.3415, allocations: 0 / 0.5616 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.3415, allocations: 4 kB / 0.5616 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.3415, allocations: 5.078 kB / 0.5616 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.604e-05/0.3416, allocations: 23.97 kB / 0.5616 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.07e-05/0.3416, allocations: 87.38 kB / 0.5617 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 9.456e-05/0.3417, allocations: 69.36 kB / 0.5618 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.158e-05/0.3418, allocations: 24.8 kB / 0.5618 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.904e-05/0.3419, allocations: 23.98 kB / 0.5618 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.3419, allocations: 38.55 kB / 0.5618 GB, free: 13 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=12): time 8.51e-07/0.3419, allocations: 0 / 0.5618 GB, free: 13 MB / 0.5417 GB Notification: Performance of matching and sorting (n=19): time 0.0008294/0.3427, allocations: 495.9 kB / 0.5623 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.005e-05/0.3427, allocations: 51.41 kB / 0.5624 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.143e-05/0.3428, allocations: 106.7 kB / 0.5625 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.3428, allocations: 29.7 kB / 0.5625 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.129e-05/0.3428, allocations: 92.52 kB / 0.5626 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/0.3428, allocations: 67.5 kB / 0.5626 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.3429, allocations: 45.67 kB / 0.5627 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.287e-05/0.3429, allocations: 326.8 kB / 0.563 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/0.343, allocations: 12.61 kB / 0.563 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.57e-05/0.343, allocations: 55.3 kB / 0.5631 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.28e-05/0.3431, allocations: 76.03 kB / 0.5631 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3431, allocations: 4 kB / 0.5631 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of matching and sorting (n=24) (initialization): time 9.345e-05/0.3431, allocations: 111.6 kB / 0.5632 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.3432, allocations: 9.25 kB / 0.5633 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.3432, allocations: 0 / 0.5633 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.3432, allocations: 0 / 0.5633 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.032e-05/0.3433, allocations: 43.98 kB / 0.5633 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.3433, allocations: 7.938 kB / 0.5633 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.926e-05/0.3433, allocations: 4 kB / 0.5633 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.3433, allocations: 4 kB / 0.5633 GB, free: 11.38 MB / 0.5417 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 5.233e-05/0.3434, allocations: 124.7 kB / 0.5634 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.3434, allocations: 15.92 kB / 0.5634 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.3434, allocations: 20.47 kB / 0.5635 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.3434, allocations: 0 / 0.5635 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.3434, allocations: 0 / 0.5635 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3434, allocations: 0 / 0.5635 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.715e-05/0.3435, allocations: 97.81 kB / 0.5636 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.3435, allocations: 3.938 kB / 0.5636 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.822e-05/0.3436, allocations: 39.98 kB / 0.5636 GB, free: 11.06 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.03e-05/0.3436, allocations: 20.77 kB / 0.5636 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3436, allocations: 2.625 kB / 0.5636 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.3436, allocations: 4 kB / 0.5636 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.3436, allocations: 0 / 0.5636 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3436, allocations: 0.8594 kB / 0.5636 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.3437, allocations: 150.6 kB / 0.5638 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.3438, allocations: 7.938 kB / 0.5638 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.846e-05/0.3438, allocations: 4 kB / 0.5638 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.3438, allocations: 15.97 kB / 0.5638 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.3438, allocations: 8 kB / 0.5638 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 8.406e-06/0.3438, allocations: 8.859 kB / 0.5638 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4e-08/0.3438, allocations: 0 / 0.5638 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001099/0.3439, allocations: 28 kB / 0.5638 GB, free: 10.8 MB / 0.5417 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 9.239e-05/0.344, allocations: 81.08 kB / 0.5639 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.198e-05/0.3441, allocations: 88.73 kB / 0.564 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.3441, allocations: 7.984 kB / 0.564 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.972e-05/0.3442, allocations: 50.84 kB / 0.5641 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.3443, allocations: 45.97 kB / 0.5641 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009917/0.3453, allocations: 286 kB / 0.5644 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.373e-05/0.3453, allocations: 75.92 kB / 0.5644 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.026e-05/0.3454, allocations: 19.52 kB / 0.5645 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.312e-05/0.3455, allocations: 91.34 kB / 0.5646 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of SimCode: time 5.31e-07/0.3455, allocations: 0 / 0.5646 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of Templates: time 0.002917/0.3484, allocations: 1.722 MB / 0.5662 GB, free: 8.395 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.525896731764078]