Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.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.00142/0.00142, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 13.93 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.001628/0.001628, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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 1.447/1.447, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002618/0.002618, allocations: 229.8 kB / 259.8 MB, free: 12.86 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.076/1.076, allocations: 138.4 MB / 454.7 MB, free: 1.484 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") translateModel(BuildingSystems.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.5543 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.196e-05/2.346e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.918 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.002359/0.002382, allocations: 1.27 MB / 0.5555 GB, free: 15.64 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004595/0.006978, allocations: 3.074 MB / 0.5585 GB, free: 12.55 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.179e-05/0.006999, allocations: 0 / 0.5585 GB, free: 12.55 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.938e-05/0.007019, allocations: 3.938 kB / 0.5585 GB, free: 12.54 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.488e-05/0.007064, allocations: 11.92 kB / 0.5585 GB, free: 12.53 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005328/0.007596, allocations: 107.4 kB / 0.5586 GB, free: 12.43 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.879e-05/0.007675, allocations: 35.86 kB / 0.5587 GB, free: 12.39 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.878e-05/0.007704, allocations: 4 kB / 0.5587 GB, free: 12.39 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.641e-05/0.00778, allocations: 35.83 kB / 0.5587 GB, free: 12.35 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.438e-05/0.007835, allocations: 11.98 kB / 0.5587 GB, free: 12.34 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.007846, allocations: 0 / 0.5587 GB, free: 12.34 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.008056, allocations: 63.81 kB / 0.5588 GB, free: 12.28 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.008072, allocations: 7.984 kB / 0.5588 GB, free: 12.27 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.321e-05/0.008105, allocations: 11.98 kB / 0.5588 GB, free: 12.26 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.008294, allocations: 79.67 kB / 0.5589 GB, free: 12.18 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.008297, allocations: 0 / 0.5589 GB, free: 12.18 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.015e-05/0.008307, allocations: 0 / 0.5589 GB, free: 12.18 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.828e-06/0.008311, allocations: 0 / 0.5589 GB, free: 12.18 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004312/0.008742, allocations: 282.2 kB / 0.5592 GB, free: 11.88 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.008779, allocations: 8.75 kB / 0.5592 GB, free: 11.87 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.008899, allocations: 8.938 kB / 0.5592 GB, free: 11.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.009005, allocations: 105.8 kB / 0.5593 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.009019, allocations: 4.375 kB / 0.5593 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/0.009052, allocations: 16.27 kB / 0.5593 GB, free: 11.71 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.009241, allocations: 131.3 kB / 0.5594 GB, free: 11.56 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.009249, allocations: 192 / 0.5594 GB, free: 11.56 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.009267, allocations: 8.109 kB / 0.5594 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.00927, allocations: 0 / 0.5594 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.63e-05/0.009327, allocations: 19.98 kB / 0.5594 GB, free: 11.53 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.009494, allocations: 109.3 kB / 0.5595 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.009609, allocations: 54.48 kB / 0.5596 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.385e-05/0.009642, allocations: 13.09 kB / 0.5596 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006046/0.01025, allocations: 245.8 kB / 0.5598 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.01028, allocations: 42.56 kB / 0.5599 GB, free: 11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.01028, allocations: 0 / 0.5599 GB, free: 11 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005949/0.01088, allocations: 225.1 kB / 0.5601 GB, free: 10.75 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.01093, allocations: 59.34 kB / 0.5602 GB, free: 10.68 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.635e-05/0.01102, allocations: 98 kB / 0.5603 GB, free: 10.57 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.01105, allocations: 25.7 kB / 0.5603 GB, free: 10.54 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/0.01111, allocations: 88.08 kB / 0.5604 GB, free: 10.45 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.01114, allocations: 27.75 kB / 0.5604 GB, free: 10.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.935e-05/0.0112, allocations: 29.7 kB / 0.5604 GB, free: 10.39 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.01138, allocations: 318.8 kB / 0.5607 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.204e-05/0.01141, allocations: 15.98 kB / 0.5607 GB, free: 10.05 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.722e-05/0.01148, allocations: 49.16 kB / 0.5608 GB, free: 9.988 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.01159, allocations: 81.05 kB / 0.5609 GB, free: 9.891 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.0116, allocations: 0 / 0.5609 GB, free: 9.891 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001732/0.01177, allocations: 101.5 kB / 0.561 GB, free: 9.785 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.01178, allocations: 12.06 kB / 0.561 GB, free: 9.773 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.01179, allocations: 0 / 0.561 GB, free: 9.773 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.0118, allocations: 4 kB / 0.561 GB, free: 9.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.626e-05/0.01189, allocations: 19.98 kB / 0.561 GB, free: 9.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.0119, allocations: 4 kB / 0.561 GB, free: 9.746 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.049e-05/0.01194, allocations: 4 kB / 0.561 GB, free: 9.742 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.01195, allocations: 4 kB / 0.561 GB, free: 9.738 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.0001021/0.01205, allocations: 121.7 kB / 0.5611 GB, free: 9.609 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.01208, allocations: 4 kB / 0.5611 GB, free: 9.605 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/0.01212, allocations: 8.125 kB / 0.5611 GB, free: 9.594 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01212, allocations: 7.938 kB / 0.5611 GB, free: 9.586 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.01213, allocations: 4 kB / 0.5611 GB, free: 9.582 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.01213, allocations: 3.984 kB / 0.5611 GB, free: 9.578 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/0.01237, allocations: 125.3 kB / 0.5613 GB, free: 9.426 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.01237, allocations: 0 / 0.5613 GB, free: 9.426 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.064e-05/0.01246, allocations: 12 kB / 0.5613 GB, free: 9.414 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.01247, allocations: 0 / 0.5613 GB, free: 9.414 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.01247, allocations: 0 / 0.5613 GB, free: 9.414 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.01247, allocations: 448 / 0.5613 GB, free: 9.414 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.01248, allocations: 4 kB / 0.5613 GB, free: 9.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.01271, allocations: 179.4 kB / 0.5615 GB, free: 9.219 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.503e-05/0.01273, allocations: 12.03 kB / 0.5615 GB, free: 9.207 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.01275, allocations: 8 kB / 0.5615 GB, free: 9.199 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.01286, allocations: 0 / 0.5615 GB, free: 9.199 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.37e-05/0.01288, allocations: 7.984 kB / 0.5615 GB, free: 9.191 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.01289, allocations: 4 kB / 0.5615 GB, free: 9.188 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.043e-05/0.01294, allocations: 79.28 kB / 0.5616 GB, free: 9.109 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01294, allocations: 0 / 0.5616 GB, free: 9.109 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002616/0.01321, allocations: 12 kB / 0.5616 GB, free: 9.098 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,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 (7): * Single equations (assignments): 7 * 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.000135/0.01334, allocations: 99.58 kB / 0.5617 GB, free: 8.992 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001227/0.01346, allocations: 51.89 kB / 0.5617 GB, free: 8.941 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01347, allocations: 0 / 0.5617 GB, free: 8.941 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.042e-05/0.0135, allocations: 16.08 kB / 0.5617 GB, free: 8.926 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.01377, allocations: 11.94 kB / 0.5617 GB, free: 8.914 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/0.01434, allocations: 252.9 kB / 0.562 GB, free: 8.641 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.517e-05/0.01442, allocations: 67.34 kB / 0.562 GB, free: 8.555 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.617e-05/0.01447, allocations: 7.984 kB / 0.5621 GB, free: 8.547 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/0.0145, allocations: 12.5 kB / 0.5621 GB, free: 8.535 MB / 490.7 MB Notification: Performance of SimCode: time 4.41e-07/0.0145, allocations: 0 / 0.5621 GB, free: 8.535 MB / 490.7 MB Notification: Performance of Templates: time 0.003367/0.01787, allocations: 0.6589 MB / 0.5627 GB, free: 7.887 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.41274437494576]