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.001013/0.001013, allocations: 93.06 kB / 19.65 MB, free: 280 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.001086/0.001086, allocations: 165 kB / 23.02 MB, free: 1.555 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.024/1.024, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.001715/0.001715, allocations: 228.3 kB / 260.2 MB, free: 12.84 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.7406/0.7406, allocations: 138.4 MB / 455.2 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_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.663e-06/1.663e-06, allocations: 0 / 0.5551 GB, free: 200 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.71e-05/2.876e-05, allocations: 2.312 kB / 0.5551 GB, free: 196 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002242/0.002271, allocations: 1.306 MB / 0.5564 GB, free: 14.87 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007711/0.003042, allocations: 0.5915 MB / 0.5569 GB, free: 14.28 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.316e-05/0.003075, allocations: 0 / 0.5569 GB, free: 14.28 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.292e-05/0.003098, allocations: 3.938 kB / 0.557 GB, free: 14.27 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.882e-05/0.003147, allocations: 7.984 kB / 0.557 GB, free: 14.27 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005739/0.00372, allocations: 147.2 kB / 0.5571 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.057e-05/0.003771, allocations: 19.94 kB / 0.5571 GB, free: 14.1 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.003812, allocations: 7.984 kB / 0.5571 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.486e-05/0.003857, allocations: 7.938 kB / 0.5571 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.344e-05/0.003901, allocations: 11.98 kB / 0.5571 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.003916, allocations: 4 kB / 0.5571 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003169/0.004233, allocations: 263.4 kB / 0.5574 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.004248, allocations: 11.98 kB / 0.5574 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.995e-05/0.004268, allocations: 4 kB / 0.5574 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.004483, allocations: 163.4 kB / 0.5576 GB, free: 13.64 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.004485, allocations: 0 / 0.5576 GB, free: 13.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.004485, allocations: 0 / 0.5576 GB, free: 13.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.00449, allocations: 0 / 0.5576 GB, free: 13.64 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.0003318/0.004822, allocations: 388.2 kB / 0.5579 GB, free: 13.22 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.004862, allocations: 13.92 kB / 0.558 GB, free: 13.21 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.004899, allocations: 8.938 kB / 0.558 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.174e-05/0.004971, allocations: 104.6 kB / 0.5581 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.004981, allocations: 4.375 kB / 0.5581 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.005005, allocations: 4.375 kB / 0.5581 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.202e-05/0.005097, allocations: 67.95 kB / 0.5581 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.433e-06/0.005103, allocations: 4.188 kB / 0.5581 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.005111, allocations: 4.312 kB / 0.5581 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.005118, allocations: 384 / 0.5581 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.536e-05/0.005143, allocations: 11.88 kB / 0.5582 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001278/0.005271, allocations: 124.6 kB / 0.5583 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.005438, allocations: 47.09 kB / 0.5583 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.789e-05/0.005466, allocations: 15.69 kB / 0.5583 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.005485, allocations: 8.094 kB / 0.5583 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.005506, allocations: 37.38 kB / 0.5584 GB, free: 12.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.005507, allocations: 0 / 0.5584 GB, free: 12.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005083/0.006015, allocations: 241.7 kB / 0.5586 GB, free: 12.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.006043, allocations: 59.34 kB / 0.5587 GB, free: 12.33 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.121e-05/0.006104, allocations: 157.9 kB / 0.5588 GB, free: 12.16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.006113, allocations: 29.7 kB / 0.5588 GB, free: 12.12 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.596e-05/0.006149, allocations: 126.9 kB / 0.559 GB, free: 12 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.006173, allocations: 19.86 kB / 0.559 GB, free: 11.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.006204, allocations: 23.38 kB / 0.559 GB, free: 11.95 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.006311, allocations: 0.4884 MB / 0.5595 GB, free: 11.45 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.006328, allocations: 8 kB / 0.5595 GB, free: 11.44 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.822e-05/0.006346, allocations: 8 kB / 0.5595 GB, free: 11.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.119e-05/0.006387, allocations: 27.67 kB / 0.5595 GB, free: 11.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.006388, allocations: 0 / 0.5595 GB, free: 11.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.68e-05/0.006465, allocations: 69.61 kB / 0.5596 GB, free: 11.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.006476, allocations: 4 kB / 0.5596 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.00648, allocations: 0 / 0.5596 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.006491, allocations: 4 kB / 0.5596 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.062e-05/0.006532, allocations: 8 kB / 0.5596 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.006537, allocations: 3.938 kB / 0.5596 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.06e-05/0.006547, allocations: 4 kB / 0.5596 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-06/0.006553, allocations: 4 kB / 0.5596 GB, free: 11.3 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 6.951e-05/0.006622, allocations: 160.6 kB / 0.5598 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.388e-06/0.006632, allocations: 7.953 kB / 0.5598 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.006744, allocations: 73.69 kB / 0.5598 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.006746, allocations: 0 / 0.5598 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.00675, allocations: 3.938 kB / 0.5599 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.006753, allocations: 4 kB / 0.5599 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.006991, allocations: 309.1 kB / 0.5602 GB, free: 10.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.006994, allocations: 8.156 kB / 0.5602 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.397e-05/0.007038, allocations: 16 kB / 0.5602 GB, free: 10.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.007041, allocations: 0 / 0.5602 GB, free: 10.67 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.007052, allocations: 7.938 kB / 0.5602 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.007053, allocations: 0 / 0.5602 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.007055, allocations: 0 / 0.5602 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.007217, allocations: 227.5 kB / 0.5604 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.18e-05/0.007239, allocations: 11.94 kB / 0.5604 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.007251, allocations: 3.938 kB / 0.5604 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.899e-05/0.00731, allocations: 8 kB / 0.5604 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.007324, allocations: 0 / 0.5604 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.007329, allocations: 8.031 kB / 0.5604 GB, free: 10.38 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.768e-05/0.007366, allocations: 123.2 kB / 0.5605 GB, free: 10.26 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007366, allocations: 0 / 0.5605 GB, free: 10.26 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001815/0.007548, allocations: 27.88 kB / 0.5606 GB, free: 10.23 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.0001419/0.00769, allocations: 119.2 kB / 0.5607 GB, free: 10.11 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.297e-05/0.007783, allocations: 39.61 kB / 0.5607 GB, free: 10.07 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.007785, allocations: 0 / 0.5607 GB, free: 10.07 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.288e-05/0.007808, allocations: 23.67 kB / 0.5607 GB, free: 10.04 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.007964, allocations: 4.062 kB / 0.5608 GB, free: 10.04 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005014/0.008466, allocations: 201 kB / 0.5609 GB, free: 9.809 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.516e-05/0.008501, allocations: 55.36 kB / 0.561 GB, free: 9.734 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.479e-05/0.008526, allocations: 11.98 kB / 0.561 GB, free: 9.723 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.985e-05/0.008546, allocations: 8.5 kB / 0.561 GB, free: 9.715 MB / 490.7 MB Notification: Performance of SimCode: time 8.91e-07/0.008546, allocations: 0 / 0.561 GB, free: 9.715 MB / 490.7 MB Notification: Performance of Templates: time 0.002541/0.01109, allocations: 0.6596 MB / 0.5617 GB, free: 9.105 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: 3.7862220741808414]