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.002007/0.002007, allocations: 85.48 kB / 19.44 MB, free: 340 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.002071/0.002071, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.546/1.546, 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.003272/0.003272, allocations: 234.2 kB / 259.8 MB, free: 12.85 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.184/1.184, allocations: 138.5 MB / 454.7 MB, free: 1.496 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.644e-06/1.644e-06, allocations: 0 / 0.5543 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.318e-05/3.483e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002507/0.002542, allocations: 1.301 MB / 0.5556 GB, free: 15.54 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.003715, allocations: 0.5837 MB / 0.5562 GB, free: 14.96 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.536e-05/0.003741, allocations: 0 / 0.5562 GB, free: 14.96 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.63e-05/0.003757, allocations: 0 / 0.5562 GB, free: 14.96 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.197e-05/0.003799, allocations: 7.938 kB / 0.5562 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00059/0.004389, allocations: 155.2 kB / 0.5563 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.315e-05/0.004462, allocations: 27.86 kB / 0.5564 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.666e-05/0.004499, allocations: 4 kB / 0.5564 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.613e-05/0.004545, allocations: 15.97 kB / 0.5564 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.106e-05/0.004606, allocations: 11.98 kB / 0.5564 GB, free: 14.74 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.004621, allocations: 0 / 0.5564 GB, free: 14.74 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007123/0.005333, allocations: 271.4 kB / 0.5566 GB, free: 14.47 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/0.005353, allocations: 11.97 kB / 0.5567 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.001e-05/0.005383, allocations: 11.94 kB / 0.5567 GB, free: 14.45 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000323/0.005706, allocations: 163.5 kB / 0.5568 GB, free: 14.29 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.005712, allocations: 3.984 kB / 0.5568 GB, free: 14.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.005713, allocations: 3.938 kB / 0.5568 GB, free: 14.28 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.005717, allocations: 0 / 0.5568 GB, free: 14.28 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.0005274/0.006245, allocations: 391.9 kB / 0.5572 GB, free: 13.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.006283, allocations: 8.75 kB / 0.5572 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.293e-05/0.006336, allocations: 8.922 kB / 0.5572 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.006468, allocations: 124.5 kB / 0.5573 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.006479, allocations: 4.375 kB / 0.5573 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.006507, allocations: 8.375 kB / 0.5574 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.006675, allocations: 101.6 kB / 0.5575 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.006687, allocations: 192 / 0.5575 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.006696, allocations: 384 / 0.5575 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.006701, allocations: 384 / 0.5575 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.952e-05/0.00676, allocations: 23.92 kB / 0.5575 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002159/0.006976, allocations: 124.6 kB / 0.5576 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.00711, allocations: 62.98 kB / 0.5577 GB, free: 13.31 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.32e-05/0.007163, allocations: 27.91 kB / 0.5577 GB, free: 13.28 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.007188, allocations: 8 kB / 0.5577 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.007225, allocations: 33.39 kB / 0.5577 GB, free: 13.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.007226, allocations: 0 / 0.5577 GB, free: 13.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.00126/0.008485, allocations: 480.5 kB / 0.5582 GB, free: 12.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.008534, allocations: 59.34 kB / 0.5582 GB, free: 12.63 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.008654, allocations: 149.9 kB / 0.5584 GB, free: 12.46 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.008682, allocations: 33.7 kB / 0.5584 GB, free: 12.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.327e-05/0.008755, allocations: 131 kB / 0.5585 GB, free: 12.29 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.793e-05/0.008813, allocations: 39.69 kB / 0.5586 GB, free: 12.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-05/0.008869, allocations: 31.36 kB / 0.5586 GB, free: 12.21 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002618/0.009131, allocations: 0.4884 MB / 0.5591 GB, free: 11.71 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.895e-05/0.00918, allocations: 19.98 kB / 0.5591 GB, free: 11.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.212e-05/0.009222, allocations: 23.12 kB / 0.5591 GB, free: 11.68 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.009332, allocations: 63.67 kB / 0.5592 GB, free: 11.61 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.009333, allocations: 0 / 0.5592 GB, free: 11.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001748/0.009508, allocations: 101.6 kB / 0.5593 GB, free: 11.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.009523, allocations: 10.75 kB / 0.5593 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.009527, allocations: 0 / 0.5593 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.009549, allocations: 15.92 kB / 0.5593 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.009654, allocations: 16 kB / 0.5593 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.009659, allocations: 0 / 0.5593 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.941e-05/0.009688, allocations: 8 kB / 0.5593 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.009695, allocations: 0 / 0.5593 GB, free: 11.46 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 0.0001306/0.009826, allocations: 164.6 kB / 0.5595 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.009847, allocations: 7.953 kB / 0.5595 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.01007, allocations: 109.8 kB / 0.5596 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/0.01007, allocations: 7.938 kB / 0.5596 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.01008, allocations: 0 / 0.5596 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.01008, allocations: 4 kB / 0.5596 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004857/0.01056, allocations: 361.3 kB / 0.56 GB, free: 10.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.01057, allocations: 0 / 0.56 GB, free: 10.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.01069, allocations: 23.98 kB / 0.56 GB, free: 10.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.01069, allocations: 3.938 kB / 0.56 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.0107, allocations: 0 / 0.56 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.0107, allocations: 0 / 0.56 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01071, allocations: 0 / 0.56 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003313/0.01104, allocations: 275.8 kB / 0.5602 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-06/0.01104, allocations: 0 / 0.5602 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.01107, allocations: 11.92 kB / 0.5603 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.843e-05/0.01114, allocations: 8.031 kB / 0.5603 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.925e-05/0.01117, allocations: 7.984 kB / 0.5603 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.01118, allocations: 4 kB / 0.5603 GB, free: 10.41 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.07e-05/0.01125, allocations: 123.2 kB / 0.5604 GB, free: 10.29 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01125, allocations: 0 / 0.5604 GB, free: 10.29 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002793/0.01153, allocations: 35.88 kB / 0.5604 GB, free: 10.26 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.000258/0.01179, allocations: 131.1 kB / 0.5606 GB, free: 10.12 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001814/0.01197, allocations: 79.09 kB / 0.5606 GB, free: 10.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01197, allocations: 4.094 kB / 0.5606 GB, free: 10.04 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.657e-05/0.01204, allocations: 39.61 kB / 0.5607 GB, free: 9.996 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.01227, allocations: 9.016 kB / 0.5607 GB, free: 9.988 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005653/0.01283, allocations: 253.7 kB / 0.5609 GB, free: 9.711 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.034e-05/0.01291, allocations: 71.34 kB / 0.561 GB, free: 9.621 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.489e-05/0.01296, allocations: 11.92 kB / 0.561 GB, free: 9.609 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.01299, allocations: 24.5 kB / 0.561 GB, free: 9.586 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01299, allocations: 0 / 0.561 GB, free: 9.586 MB / 490.7 MB Notification: Performance of Templates: time 0.00427/0.01726, allocations: 0.9481 MB / 0.5619 GB, free: 8.68 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: 5.811473506968468]