Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.00255/0.00255, allocations: 93.47 kB / 19.44 MB, free: 336 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.003053/0.003053, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.571/1.571, allocations: 177.1 MB / 203.1 MB, free: 5.578 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.005283/0.005283, allocations: 234.1 kB / 259.8 MB, free: 12.88 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.181/1.181, allocations: 138.5 MB / 454.7 MB, free: 1.504 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.5543 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/2.996e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.875 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002528/0.002558, allocations: 1.282 MB / 0.5556 GB, free: 15.58 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.003835, allocations: 0.576 MB / 0.5562 GB, free: 15 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.278e-05/0.003858, allocations: 4 kB / 0.5562 GB, free: 15 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.003876, allocations: 3.938 kB / 0.5562 GB, free: 14.99 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.647e-05/0.003923, allocations: 0 / 0.5562 GB, free: 14.99 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005717/0.004494, allocations: 151.2 kB / 0.5563 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.94e-05/0.004574, allocations: 23.86 kB / 0.5563 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.01e-05/0.004614, allocations: 4 kB / 0.5563 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.783e-05/0.004672, allocations: 7.984 kB / 0.5563 GB, free: 14.81 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.048e-05/0.004722, allocations: 7.984 kB / 0.5563 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.004739, allocations: 0 / 0.5563 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004923/0.005231, allocations: 271.4 kB / 0.5566 GB, free: 14.54 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.005245, allocations: 0 / 0.5566 GB, free: 14.54 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.591e-05/0.005271, allocations: 11.98 kB / 0.5566 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.005586, allocations: 159.5 kB / 0.5568 GB, free: 14.37 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.005588, allocations: 0 / 0.5568 GB, free: 14.37 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005589, allocations: 4 kB / 0.5568 GB, free: 14.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.005594, allocations: 0 / 0.5568 GB, free: 14.36 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005022/0.006096, allocations: 391.8 kB / 0.5571 GB, free: 13.94 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.006133, allocations: 8.75 kB / 0.5572 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.006177, allocations: 8.875 kB / 0.5572 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.006298, allocations: 120.6 kB / 0.5573 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.006311, allocations: 4.375 kB / 0.5573 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.006329, allocations: 384 / 0.5573 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.006455, allocations: 71.95 kB / 0.5573 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.006463, allocations: 192 / 0.5573 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.006471, allocations: 384 / 0.5573 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.006475, allocations: 384 / 0.5573 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.508e-05/0.00652, allocations: 11.94 kB / 0.5574 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.006704, allocations: 120.6 kB / 0.5575 GB, free: 13.53 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.006897, allocations: 47.05 kB / 0.5575 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.195e-05/0.006939, allocations: 19.69 kB / 0.5575 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.006967, allocations: 0 / 0.5575 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.006997, allocations: 37.39 kB / 0.5576 GB, free: 13.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.011e-06/0.006998, allocations: 4 kB / 0.5576 GB, free: 13.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.000652/0.00765, allocations: 250 kB / 0.5578 GB, free: 13.12 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.0077, allocations: 59.34 kB / 0.5579 GB, free: 13.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.007819, allocations: 157.9 kB / 0.558 GB, free: 12.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.007839, allocations: 25.7 kB / 0.558 GB, free: 12.84 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.452e-05/0.007923, allocations: 126.9 kB / 0.5582 GB, free: 12.71 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.007961, allocations: 27.78 kB / 0.5582 GB, free: 12.69 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/0.008009, allocations: 23.38 kB / 0.5582 GB, free: 12.66 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002638/0.008272, allocations: 0.4884 MB / 0.5587 GB, free: 12.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.733e-05/0.0083, allocations: 7.984 kB / 0.5587 GB, free: 12.15 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.669e-05/0.008326, allocations: 19.98 kB / 0.5587 GB, free: 12.13 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.551e-05/0.008392, allocations: 31.69 kB / 0.5588 GB, free: 12.09 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.008393, allocations: 0 / 0.5588 GB, free: 12.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001157/0.008508, allocations: 69.73 kB / 0.5588 GB, free: 12.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.008522, allocations: 8 kB / 0.5588 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.008526, allocations: 80 / 0.5588 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.008539, allocations: 0 / 0.5588 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.556e-05/0.008594, allocations: 11.98 kB / 0.5588 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.008605, allocations: 11.92 kB / 0.5589 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.985e-05/0.008625, allocations: 4 kB / 0.5589 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.00863, allocations: 0 / 0.5589 GB, free: 11.98 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 (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 prepare postOptimizeDAE: time 0.0001131/0.008743, allocations: 160.6 kB / 0.559 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.658e-05/0.00876, allocations: 11.94 kB / 0.559 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.008927, allocations: 69.73 kB / 0.5591 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.008929, allocations: 0 / 0.5591 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.008937, allocations: 7.938 kB / 0.5591 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.008939, allocations: 0 / 0.5591 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000369/0.009308, allocations: 313.1 kB / 0.5594 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.00931, allocations: 0 / 0.5594 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.734e-05/0.009377, allocations: 15.98 kB / 0.5594 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.009379, allocations: 0 / 0.5594 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.009392, allocations: 11.97 kB / 0.5594 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.009396, allocations: 4 kB / 0.5594 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.009397, allocations: 0 / 0.5594 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.009653, allocations: 235.8 kB / 0.5596 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.504e-05/0.009679, allocations: 11.94 kB / 0.5597 GB, free: 11.08 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.009694, allocations: 3.938 kB / 0.5597 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.472e-05/0.009768, allocations: 0 / 0.5597 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-05/0.009793, allocations: 7.984 kB / 0.5597 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.009801, allocations: 4 kB / 0.5597 GB, free: 11.06 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.544e-05/0.009877, allocations: 123.2 kB / 0.5598 GB, free: 10.94 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009877, allocations: 0 / 0.5598 GB, free: 10.94 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002454/0.01012, allocations: 27.91 kB / 0.5598 GB, free: 10.91 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.000206/0.01033, allocations: 123.1 kB / 0.5599 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001215/0.01045, allocations: 43.61 kB / 0.56 GB, free: 10.74 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.01045, allocations: 4 kB / 0.56 GB, free: 10.73 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.033e-05/0.01049, allocations: 19.69 kB / 0.56 GB, free: 10.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.01072, allocations: 5.016 kB / 0.56 GB, free: 10.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004148/0.01114, allocations: 190.1 kB / 0.5602 GB, free: 10.49 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.401e-05/0.01121, allocations: 67 kB / 0.5602 GB, free: 10.41 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.991e-05/0.01124, allocations: 7.984 kB / 0.5603 GB, free: 10.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.01127, allocations: 12.5 kB / 0.5603 GB, free: 10.39 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01127, allocations: 4 kB / 0.5603 GB, free: 10.38 MB / 490.7 MB Notification: Performance of Templates: time 0.003682/0.01495, allocations: 0.6541 MB / 0.5609 GB, free: 9.77 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.917179711046629]