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.0009944/0.0009944, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001272/0.002266, allocations: 435.8 kB / 10.33 MB, free: 368 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.001104/0.001104, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001326/0.00243, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9892/0.9892, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07989/1.069, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.00203/0.00203, allocations: 241.2 kB / 244.2 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001564/0.003594, allocations: 467.6 kB / 244.7 MB, free: 14.17 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.77/0.77, allocations: 138.7 MB / 384.1 MB, free: 488 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07101/0.8411, allocations: 42.4 MB / 426.5 MB, free: 5.949 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.734e-06/1.734e-06, allocations: 0 / 427.8 MB, free: 4.672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.178e-05, allocations: 2.312 kB / 427.8 MB, free: 4.668 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002612/0.002634, allocations: 1.426 MB / 429.2 MB, free: 3.227 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.3527/0.3553, allocations: 143.8 MB / 0.5595 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.87e-05/0.3553, allocations: 0 / 0.5595 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 3.426e-05/0.3554, allocations: 0 / 0.5595 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 7.418e-05/0.3555, allocations: 15.86 kB / 0.5595 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008124/0.3563, allocations: 328.1 kB / 0.5598 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.3564, allocations: 71.75 kB / 0.5599 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 3.274e-05/0.3564, allocations: 0 / 0.5599 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 6.874e-05/0.3565, allocations: 47.88 kB / 0.56 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 8.464e-05/0.3566, allocations: 31.89 kB / 0.56 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.3566, allocations: 0 / 0.56 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005907/0.3572, allocations: 386.5 kB / 0.5604 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 4.617e-05/0.3572, allocations: 11.94 kB / 0.5604 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 2.941e-05/0.3572, allocations: 12 kB / 0.5604 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.3575, allocations: 155.5 kB / 0.5605 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.791e-05/0.3575, allocations: 4 kB / 0.5605 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3575, allocations: 0 / 0.5605 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.593e-05/0.3575, allocations: 0 / 0.5605 GB, free: 14.43 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.0003968/0.3579, allocations: 312.5 kB / 0.5608 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.3579, allocations: 8.031 kB / 0.5608 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003227/0.3583, allocations: 140 kB / 0.561 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.908e-05/0.3583, allocations: 117.6 kB / 0.5611 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.3584, allocations: 8.375 kB / 0.5611 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.3584, allocations: 17.78 kB / 0.5611 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.3585, allocations: 200.9 kB / 0.5613 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.3585, allocations: 0 / 0.5613 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.3585, allocations: 0 / 0.5613 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.3585, allocations: 4 kB / 0.5613 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.585e-05/0.3586, allocations: 32.89 kB / 0.5613 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001006/0.3587, allocations: 78.69 kB / 0.5614 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.3588, allocations: 69.36 kB / 0.5615 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.094e-05/0.3588, allocations: 16.86 kB / 0.5615 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.3589, allocations: 33.05 kB / 0.5615 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.359, allocations: 30.89 kB / 0.5616 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.359, allocations: 0 / 0.5616 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of matching and sorting (n=19): time 0.0008832/0.3598, allocations: 0.4935 MB / 0.562 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.3599, allocations: 55.41 kB / 0.5621 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.905e-05/0.3599, allocations: 106.7 kB / 0.5622 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.3599, allocations: 29.7 kB / 0.5622 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.265e-05/0.36, allocations: 80.52 kB / 0.5623 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.427e-05/0.36, allocations: 67.38 kB / 0.5624 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/0.36, allocations: 61.73 kB / 0.5624 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.324e-05/0.3601, allocations: 322.8 kB / 0.5627 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.921e-05/0.3601, allocations: 16.61 kB / 0.5627 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.713e-05/0.3602, allocations: 50.03 kB / 0.5628 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.873e-05/0.3602, allocations: 78.16 kB / 0.5629 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3602, allocations: 0 / 0.5629 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001036/0.3603, allocations: 111.8 kB / 0.563 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.3604, allocations: 4 kB / 0.563 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3604, allocations: 0 / 0.563 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.3604, allocations: 4 kB / 0.563 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.3605, allocations: 43.92 kB / 0.563 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.3605, allocations: 4 kB / 0.563 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.655e-05/0.3605, allocations: 8 kB / 0.563 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.3605, allocations: 4 kB / 0.563 GB, free: 11.63 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 6.403e-05/0.3606, allocations: 128.6 kB / 0.5632 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.3606, allocations: 15.92 kB / 0.5632 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.3606, allocations: 16.47 kB / 0.5632 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3606, allocations: 5.266 kB / 0.5632 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-06/0.3606, allocations: 0 / 0.5632 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3606, allocations: 3.984 kB / 0.5632 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.31e-05/0.3607, allocations: 82.58 kB / 0.5633 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3607, allocations: 4 kB / 0.5633 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.3608, allocations: 43.98 kB / 0.5633 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.337e-05/0.3608, allocations: 19.88 kB / 0.5633 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.3608, allocations: 0 / 0.5633 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.3609, allocations: 5.938 kB / 0.5633 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.3609, allocations: 0 / 0.5633 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3609, allocations: 0 / 0.5633 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.361, allocations: 150.7 kB / 0.5635 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.361, allocations: 7.938 kB / 0.5635 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.141e-05/0.3611, allocations: 4 kB / 0.5635 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.757e-05/0.3611, allocations: 19.97 kB / 0.5635 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.3611, allocations: 4 kB / 0.5635 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 8.105e-06/0.3611, allocations: 4.859 kB / 0.5635 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4e-08/0.3611, allocations: 0 / 0.5635 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001245/0.3612, allocations: 32 kB / 0.5636 GB, free: 11.05 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 0.0001029/0.3613, allocations: 93.19 kB / 0.5636 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.3614, allocations: 74.06 kB / 0.5637 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.3614, allocations: 12.08 kB / 0.5637 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.261e-05/0.3615, allocations: 46.67 kB / 0.5638 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.3616, allocations: 43.58 kB / 0.5638 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.3626, allocations: 289.9 kB / 0.5641 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.532e-05/0.3627, allocations: 71.94 kB / 0.5642 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.115e-05/0.3628, allocations: 23.03 kB / 0.5642 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.073e-05/0.3628, allocations: 79.36 kB / 0.5643 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of SimCode: time 8.21e-07/0.3628, allocations: 0 / 0.5643 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of Templates: time 0.003265/0.3661, allocations: 1.723 MB / 0.5659 GB, free: 8.656 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.6561557119712234]