Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.002526/0.002526, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.002881/0.002881, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.606/1.606, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.164/3.164, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.813e-05/4.04e-05, allocations: 2.281 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002643/0.002683, allocations: 1.301 MB / 1.002 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.003846, allocations: 0.5456 MB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.373e-05/0.00388, allocations: 0 / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.126e-05/0.003901, allocations: 0 / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.321e-05/0.003945, allocations: 7.938 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006368/0.004581, allocations: 155.2 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.396e-05/0.004665, allocations: 27.86 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.43e-05/0.00472, allocations: 11.88 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.062e-05/0.00477, allocations: 19.97 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.732e-05/0.004838, allocations: 11.92 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.004857, allocations: 4 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004795/0.005337, allocations: 263.4 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.534e-05/0.005362, allocations: 15.91 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.183e-05/0.005394, allocations: 12 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000323/0.005717, allocations: 155.5 kB / 1.004 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.005721, allocations: 4 kB / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.453e-06/0.005723, allocations: 0 / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.005727, allocations: 0 / 1.004 GB, free: 10.48 MB / 0.9636 GB 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.0004968/0.006224, allocations: 290 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.006265, allocations: 8.75 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/0.00631, allocations: 12.83 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.006432, allocations: 105.7 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.006452, allocations: 12.36 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.006473, allocations: 4.375 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.006654, allocations: 101.6 kB / 1.004 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.006667, allocations: 4.188 kB / 1.004 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.006677, allocations: 384 / 1.004 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.984e-06/0.006684, allocations: 4.375 kB / 1.004 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.367e-05/0.006748, allocations: 19.92 kB / 1.004 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.006935, allocations: 113.3 kB / 1.004 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.007068, allocations: 66.44 kB / 1.004 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.516e-05/0.007133, allocations: 28.84 kB / 1.004 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.00716, allocations: 4 kB / 1.004 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.007194, allocations: 34.56 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.007195, allocations: 0 / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.001194/0.008389, allocations: 439.9 kB / 1.005 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.008444, allocations: 55.41 kB / 1.005 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.495e-05/0.008539, allocations: 101.9 kB / 1.005 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.00856, allocations: 29.64 kB / 1.005 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/0.008612, allocations: 80.27 kB / 1.005 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.363e-05/0.008665, allocations: 47.64 kB / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.384e-05/0.008719, allocations: 33.7 kB / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.008894, allocations: 314.8 kB / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.906e-05/0.008943, allocations: 27.92 kB / 1.005 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.026e-05/0.008983, allocations: 16 kB / 1.005 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.009098, allocations: 56.84 kB / 1.006 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.009099, allocations: 0 / 1.006 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001655/0.009264, allocations: 92.06 kB / 1.006 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.009279, allocations: 4 kB / 1.006 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.009284, allocations: 0 / 1.006 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.009303, allocations: 11.92 kB / 1.006 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.009426, allocations: 31.92 kB / 1.006 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.009431, allocations: 0 / 1.006 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.498e-05/0.009456, allocations: 4 kB / 1.006 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.009468, allocations: 4 kB / 1.006 GB, free: 8.137 MB / 0.9636 GB 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 0.0001006/0.009568, allocations: 113.8 kB / 1.006 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.872e-05/0.009587, allocations: 7.938 kB / 1.006 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.009808, allocations: 109.7 kB / 1.006 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.009814, allocations: 3.938 kB / 1.006 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.009819, allocations: 0 / 1.006 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.009822, allocations: 4 kB / 1.006 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004555/0.01028, allocations: 294.2 kB / 1.006 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01028, allocations: 0 / 1.006 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.01039, allocations: 19.94 kB / 1.006 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.0104, allocations: 7.922 kB / 1.006 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.01041, allocations: 4 kB / 1.006 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.01041, allocations: 0 / 1.006 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01041, allocations: 0 / 1.006 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.0107, allocations: 219.4 kB / 1.006 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.936e-06/0.01071, allocations: 3.953 kB / 1.006 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.01073, allocations: 3.969 kB / 1.006 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.731e-05/0.01081, allocations: 16.05 kB / 1.006 GB, free: 7.273 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.945e-05/0.01083, allocations: 4 kB / 1.006 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.01084, allocations: 3.984 kB / 1.006 GB, free: 7.266 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.186e-05/0.01089, allocations: 79.28 kB / 1.006 GB, free: 7.188 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1e-07/0.01089, allocations: 3.938 kB / 1.007 GB, free: 7.184 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002651/0.01116, allocations: 35.88 kB / 1.007 GB, free: 7.148 MB / 0.9636 GB 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.0002644/0.01142, allocations: 143 kB / 1.007 GB, free: 7 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001581/0.01158, allocations: 56.36 kB / 1.007 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01158, allocations: 96 / 1.007 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.881e-05/0.01164, allocations: 39.86 kB / 1.007 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.01188, allocations: 8 kB / 1.007 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005618/0.01244, allocations: 240.5 kB / 1.007 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.48e-05/0.01253, allocations: 67.34 kB / 1.007 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.68e-05/0.01257, allocations: 11.97 kB / 1.007 GB, free: 6.539 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/0.01261, allocations: 20.5 kB / 1.007 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of SimCode: time 3.91e-07/0.01261, allocations: 0 / 1.007 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of Templates: time 0.004269/0.01688, allocations: 0.9262 MB / 1.008 GB, free: 5.645 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.948659992776811]