Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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.0008588/0.0008588, allocations: 81.95 kB / 19.87 MB, free: 4.621 MB / 18.57 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.0009178/0.0009178, allocations: 169.7 kB / 23.28 MB, free: 1.219 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 0.9253/0.9253, allocations: 177.1 MB / 203.7 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.001593/0.001593, allocations: 233.4 kB / 260.5 MB, free: 12.63 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 0.6986/0.6986, allocations: 138.4 MB / 455.5 MB, free: 1.418 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.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.5556 GB, free: 236 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.969e-06/1.118e-05, allocations: 10.11 kB / 0.5556 GB, free: 228 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001409/0.00142, allocations: 1.317 MB / 0.5569 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006623/0.002082, allocations: 0.576 MB / 0.5575 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.68e-05/0.002109, allocations: 3.938 kB / 0.5575 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.636e-05/0.002126, allocations: 3.938 kB / 0.5575 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.387e-05/0.002159, allocations: 4 kB / 0.5575 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.002557, allocations: 155.2 kB / 0.5576 GB, free: 14.15 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.748e-05/0.002605, allocations: 27.92 kB / 0.5577 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.221e-05/0.002637, allocations: 0 / 0.5577 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.787e-05/0.002675, allocations: 23.91 kB / 0.5577 GB, free: 14.1 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.97e-05/0.002724, allocations: 11.98 kB / 0.5577 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.002737, allocations: 4 kB / 0.5577 GB, free: 14.08 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002579/0.002995, allocations: 259.4 kB / 0.5579 GB, free: 13.83 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.608e-05/0.003011, allocations: 15.97 kB / 0.558 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.287e-05/0.003024, allocations: 4 kB / 0.558 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.003206, allocations: 179.3 kB / 0.5581 GB, free: 13.63 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003208, allocations: 0 / 0.5581 GB, free: 13.63 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.003209, allocations: 0 / 0.5581 GB, free: 13.63 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.003213, allocations: 0 / 0.5581 GB, free: 13.63 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.0002757/0.003489, allocations: 392.2 kB / 0.5585 GB, free: 13.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.003523, allocations: 16.73 kB / 0.5585 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.326e-05/0.003546, allocations: 4.938 kB / 0.5585 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.327e-05/0.00361, allocations: 116.5 kB / 0.5586 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.00362, allocations: 8.375 kB / 0.5586 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.003643, allocations: 8.328 kB / 0.5587 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.949e-05/0.003742, allocations: 101.6 kB / 0.5587 GB, free: 12.92 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.003752, allocations: 192 / 0.5587 GB, free: 12.92 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.003759, allocations: 384 / 0.5587 GB, free: 12.92 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.003764, allocations: 384 / 0.5587 GB, free: 12.92 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.194e-05/0.003796, allocations: 19.86 kB / 0.5588 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000129/0.003925, allocations: 109.2 kB / 0.5589 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.505e-05/0.004, allocations: 55.11 kB / 0.5589 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.004019, allocations: 23.67 kB / 0.5589 GB, free: 12.67 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.004037, allocations: 3.984 kB / 0.559 GB, free: 12.67 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.004058, allocations: 41.39 kB / 0.559 GB, free: 12.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 8.31e-07/0.004059, allocations: 4 kB / 0.559 GB, free: 12.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005878/0.004646, allocations: 436.7 kB / 0.5594 GB, free: 12.12 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.046e-05/0.004667, allocations: 55.34 kB / 0.5595 GB, free: 12.06 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.148e-05/0.004718, allocations: 157.9 kB / 0.5596 GB, free: 11.89 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.004728, allocations: 25.7 kB / 0.5596 GB, free: 11.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.303e-05/0.004761, allocations: 130.9 kB / 0.5598 GB, free: 11.72 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.004793, allocations: 35.8 kB / 0.5598 GB, free: 11.69 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-05/0.004828, allocations: 43.36 kB / 0.5598 GB, free: 11.64 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.004939, allocations: 496.1 kB / 0.5603 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.051e-05/0.004959, allocations: 11.98 kB / 0.5603 GB, free: 11.13 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.638e-05/0.004976, allocations: 8 kB / 0.5603 GB, free: 11.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.263e-05/0.005018, allocations: 39.67 kB / 0.5604 GB, free: 11.08 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.005019, allocations: 0 / 0.5604 GB, free: 11.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.051e-05/0.0051, allocations: 89.58 kB / 0.5605 GB, free: 10.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.005111, allocations: 8 kB / 0.5605 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.005116, allocations: 0 / 0.5605 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.005126, allocations: 0 / 0.5605 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.069e-05/0.005187, allocations: 19.98 kB / 0.5605 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.005191, allocations: 11.94 kB / 0.5605 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.148e-05/0.005202, allocations: 0 / 0.5605 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.005207, allocations: 0 / 0.5605 GB, free: 10.95 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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 7.419e-05/0.005281, allocations: 172.5 kB / 0.5607 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.005292, allocations: 15.89 kB / 0.5607 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.005402, allocations: 89.83 kB / 0.5608 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.005404, allocations: 0 / 0.5608 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.005406, allocations: 3.938 kB / 0.5608 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.00541, allocations: 0 / 0.5608 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.005663, allocations: 326.1 kB / 0.5611 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.005664, allocations: 4 kB / 0.5611 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.972e-05/0.005724, allocations: 16 kB / 0.5611 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.005726, allocations: 0 / 0.5611 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.005734, allocations: 7.984 kB / 0.5611 GB, free: 10.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.005736, allocations: 3.938 kB / 0.5611 GB, free: 10.27 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.005737, allocations: 0 / 0.5611 GB, free: 10.27 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.005887, allocations: 243.8 kB / 0.5613 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.146e-06/0.005895, allocations: 3.984 kB / 0.5613 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.005905, allocations: 7.938 kB / 0.5613 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.451e-05/0.00597, allocations: 7.938 kB / 0.5614 GB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.561e-05/0.005985, allocations: 12.02 kB / 0.5614 GB, free: 9.984 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.005993, allocations: 4 kB / 0.5614 GB, free: 9.98 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.784e-05/0.006031, allocations: 123.2 kB / 0.5615 GB, free: 9.859 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006031, allocations: 0 / 0.5615 GB, free: 9.859 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002087/0.00624, allocations: 35.88 kB / 0.5615 GB, free: 9.824 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_comp) * 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 (11): * Single equations (assignments): 11 * 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.0001292/0.006369, allocations: 135.1 kB / 0.5616 GB, free: 9.684 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.766e-05/0.006447, allocations: 51.23 kB / 0.5617 GB, free: 9.633 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.006448, allocations: 0 / 0.5617 GB, free: 9.633 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.093e-05/0.006479, allocations: 35.59 kB / 0.5617 GB, free: 9.594 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.006618, allocations: 20.08 kB / 0.5618 GB, free: 9.574 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004148/0.007033, allocations: 253.6 kB / 0.562 GB, free: 9.297 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.238e-05/0.007065, allocations: 63.34 kB / 0.5621 GB, free: 9.215 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.76e-05/0.007093, allocations: 8 kB / 0.5621 GB, free: 9.207 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.915e-05/0.007142, allocations: 86.19 kB / 0.5621 GB, free: 9.121 MB / 490.7 MB Notification: Performance of SimCode: time 6.31e-07/0.007142, allocations: 0 / 0.5621 GB, free: 9.121 MB / 490.7 MB Notification: Performance of Templates: time 0.002365/0.009508, allocations: 1.067 MB / 0.5632 GB, free: 8.098 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.395722190849483]