Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.0008917/0.0008917, allocations: 81.92 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.0009077/0.0009077, allocations: 173.7 kB / 23.28 MB, free: 1.223 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.8879/0.8879, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.001582/0.001582, allocations: 233.7 kB / 260.5 MB, free: 12.68 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.8134/0.8134, allocations: 138.4 MB / 455.5 MB, free: 30.02 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 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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.5556 GB, free: 15.9 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.093e-05, allocations: 2.312 kB / 0.5556 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.0017/0.001721, allocations: 1.526 MB / 0.5571 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007197/0.00244, allocations: 0.5877 MB / 0.5576 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.219e-05/0.002473, allocations: 0 / 0.5576 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.51e-05/0.002498, allocations: 3.938 kB / 0.5576 GB, free: 13.76 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.764e-05/0.002545, allocations: 15.86 kB / 0.5576 GB, free: 13.75 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.002942, allocations: 171.2 kB / 0.5578 GB, free: 13.58 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.106e-05/0.003003, allocations: 39.86 kB / 0.5579 GB, free: 13.54 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.274e-05/0.003036, allocations: 7.984 kB / 0.5579 GB, free: 13.53 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.859e-05/0.003105, allocations: 31.91 kB / 0.5579 GB, free: 13.5 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.314e-05/0.003138, allocations: 23.95 kB / 0.5579 GB, free: 13.48 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.003152, allocations: 8 kB / 0.5579 GB, free: 13.47 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002549/0.003407, allocations: 271.4 kB / 0.5582 GB, free: 13.2 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.003421, allocations: 8 kB / 0.5582 GB, free: 13.2 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.009e-05/0.003441, allocations: 23.91 kB / 0.5582 GB, free: 13.17 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.003649, allocations: 183.3 kB / 0.5584 GB, free: 12.99 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.003651, allocations: 0 / 0.5584 GB, free: 12.99 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003651, allocations: 0 / 0.5584 GB, free: 12.99 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.725e-06/0.003654, allocations: 0 / 0.5584 GB, free: 12.99 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003612/0.004015, allocations: 424 kB / 0.5588 GB, free: 12.54 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.004052, allocations: 13.94 kB / 0.5588 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.00408, allocations: 12.89 kB / 0.5588 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.039e-05/0.00415, allocations: 124.5 kB / 0.5589 GB, free: 12.37 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.004169, allocations: 8.375 kB / 0.5589 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.004186, allocations: 12.33 kB / 0.559 GB, free: 12.35 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.00432, allocations: 133.4 kB / 0.5591 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.004328, allocations: 192 / 0.5591 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.004336, allocations: 4.375 kB / 0.5591 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.004343, allocations: 4.375 kB / 0.5591 GB, free: 12.19 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.168e-05/0.004374, allocations: 19.92 kB / 0.5591 GB, free: 12.17 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003303/0.004704, allocations: 296.2 kB / 0.5594 GB, free: 11.86 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.004808, allocations: 63.02 kB / 0.5594 GB, free: 11.78 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.004826, allocations: 19.69 kB / 0.5595 GB, free: 11.76 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.004846, allocations: 4 kB / 0.5595 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.004875, allocations: 37.33 kB / 0.5595 GB, free: 11.71 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.004877, allocations: 0 / 0.5595 GB, free: 11.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006946/0.005571, allocations: 449.2 kB / 0.5599 GB, free: 11.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.005599, allocations: 51.41 kB / 0.56 GB, free: 11.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.031e-05/0.005669, allocations: 157.9 kB / 0.5601 GB, free: 10.97 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.005683, allocations: 29.69 kB / 0.5602 GB, free: 10.94 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.475e-05/0.005727, allocations: 138.8 kB / 0.5603 GB, free: 10.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.005756, allocations: 43.67 kB / 0.5603 GB, free: 10.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.005789, allocations: 31.36 kB / 0.5604 GB, free: 10.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.005901, allocations: 0.4884 MB / 0.5608 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.045e-05/0.005922, allocations: 15.98 kB / 0.5609 GB, free: 10.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.631e-05/0.005938, allocations: 8 kB / 0.5609 GB, free: 10.19 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.578e-05/0.005984, allocations: 51.55 kB / 0.5609 GB, free: 10.14 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.005985, allocations: 7.938 kB / 0.5609 GB, free: 10.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.591e-05/0.006071, allocations: 89.56 kB / 0.561 GB, free: 10.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.006083, allocations: 6.656 kB / 0.561 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.006087, allocations: 0 / 0.561 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.006099, allocations: 4 kB / 0.561 GB, free: 10.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.884e-05/0.006167, allocations: 23.92 kB / 0.561 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.006171, allocations: 4 kB / 0.561 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.18e-05/0.006192, allocations: 4 kB / 0.5611 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.006199, allocations: 4 kB / 0.5611 GB, free: 9.996 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 6.275e-05/0.006261, allocations: 168.5 kB / 0.5612 GB, free: 9.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/0.006281, allocations: 11.95 kB / 0.5612 GB, free: 9.809 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.006392, allocations: 91.94 kB / 0.5613 GB, free: 9.715 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.006394, allocations: 7.984 kB / 0.5613 GB, free: 9.707 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.006396, allocations: 3.984 kB / 0.5613 GB, free: 9.703 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.006399, allocations: 0 / 0.5613 GB, free: 9.703 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.006628, allocations: 333.9 kB / 0.5616 GB, free: 9.344 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.00663, allocations: 0 / 0.5616 GB, free: 9.344 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.709e-05/0.006697, allocations: 27.98 kB / 0.5617 GB, free: 9.316 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.006698, allocations: 0 / 0.5617 GB, free: 9.316 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.006704, allocations: 0 / 0.5617 GB, free: 9.316 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.006705, allocations: 4 kB / 0.5617 GB, free: 9.312 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.91e-07/0.006705, allocations: 4 kB / 0.5617 GB, free: 9.309 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.006852, allocations: 259.7 kB / 0.5619 GB, free: 9.035 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-06/0.006858, allocations: 4 kB / 0.5619 GB, free: 9.031 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.376e-06/0.006866, allocations: 0 / 0.5619 GB, free: 9.031 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.382e-05/0.00691, allocations: 8 kB / 0.5619 GB, free: 9.023 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.222e-05/0.006922, allocations: 7.984 kB / 0.5619 GB, free: 9.016 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.006927, allocations: 0 / 0.5619 GB, free: 9.016 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.95e-05/0.006956, allocations: 127.2 kB / 0.5621 GB, free: 8.891 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006956, allocations: 0 / 0.5621 GB, free: 8.891 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001611/0.007117, allocations: 39.91 kB / 0.5621 GB, free: 8.852 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0001242/0.007242, allocations: 139 kB / 0.5622 GB, free: 8.707 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.812e-05/0.00732, allocations: 61 kB / 0.5623 GB, free: 8.645 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.007321, allocations: 0 / 0.5623 GB, free: 8.645 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.75e-05/0.007349, allocations: 35.61 kB / 0.5623 GB, free: 8.605 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.007504, allocations: 15.88 kB / 0.5623 GB, free: 8.59 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004373/0.007942, allocations: 266.9 kB / 0.5626 GB, free: 8.297 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.879e-05/0.00798, allocations: 68.03 kB / 0.5627 GB, free: 8.211 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.471e-05/0.008015, allocations: 12.77 kB / 0.5627 GB, free: 8.199 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.319e-05/0.008078, allocations: 90.19 kB / 0.5628 GB, free: 8.109 MB / 490.7 MB Notification: Performance of SimCode: time 7.11e-07/0.008079, allocations: 0 / 0.5628 GB, free: 8.109 MB / 490.7 MB Notification: Performance of Templates: time 0.002459/0.01054, allocations: 1.305 MB / 0.564 GB, free: 6.875 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.569361759815365]