Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001279/0.001279, allocations: 79.98 kB / 19.94 MB, free: 1.77 MB / 14.72 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.001346/0.001346, allocations: 169.5 kB / 23.22 MB, free: 4.887 MB / 14.72 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.396/1.396, allocations: 177.2 MB / 203.5 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9018/0.9018, allocations: 114 MB / 373.9 MB, free: 13.23 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 3.938 kB / 0.5547 GB, free: 2.645 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.873e-05/3.035e-05, allocations: 6.219 kB / 0.5547 GB, free: 2.637 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002452/0.002482, allocations: 1.297 MB / 0.5559 GB, free: 1.34 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.003626, allocations: 0.5409 MB / 0.5565 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.205e-05/0.003658, allocations: 0 / 0.5565 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.545e-05/0.003683, allocations: 3.938 kB / 0.5565 GB, free: 0.793 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 4.107e-05/0.003724, allocations: 7.984 kB / 0.5565 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007249/0.004449, allocations: 151.2 kB / 0.5566 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 8.21e-05/0.004531, allocations: 31.86 kB / 0.5567 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.578e-05/0.004587, allocations: 0 / 0.5567 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.959e-05/0.004637, allocations: 19.97 kB / 0.5567 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.24e-05/0.004699, allocations: 11.98 kB / 0.5567 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.004719, allocations: 4 kB / 0.5567 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005014/0.00522, allocations: 263.4 kB / 0.5569 GB, free: 320 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.673e-05/0.005247, allocations: 11.98 kB / 0.557 GB, free: 308 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/0.005276, allocations: 11.94 kB / 0.557 GB, free: 296 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003718/0.005648, allocations: 175.4 kB / 0.5571 GB, free: 120 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.005652, allocations: 0 / 0.5571 GB, free: 120 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.005654, allocations: 0 / 0.5571 GB, free: 120 kB / 462.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.005659, allocations: 0 / 0.5571 GB, free: 120 kB / 462.1 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.0005465/0.006206, allocations: 292.6 kB / 0.5574 GB, free: 15.8 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.006255, allocations: 8.031 kB / 0.5574 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.306e-05/0.006308, allocations: 8.891 kB / 0.5574 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.006445, allocations: 105.7 kB / 0.5575 GB, free: 15.66 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.006466, allocations: 4.375 kB / 0.5575 GB, free: 15.66 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.006494, allocations: 8.359 kB / 0.5575 GB, free: 15.65 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.006685, allocations: 109.6 kB / 0.5576 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.122e-05/0.006727, allocations: 3.938 kB / 0.5577 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.006741, allocations: 4 kB / 0.5577 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.006745, allocations: 0 / 0.5577 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.958e-05/0.006805, allocations: 19.92 kB / 0.5577 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001878/0.006993, allocations: 109.3 kB / 0.5578 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.007134, allocations: 54.56 kB / 0.5578 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.984e-05/0.007184, allocations: 28.84 kB / 0.5579 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.007208, allocations: 4 kB / 0.5579 GB, free: 15.26 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.007245, allocations: 38.5 kB / 0.5579 GB, free: 15.21 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.007246, allocations: 0 / 0.5579 GB, free: 15.21 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.001218/0.008464, allocations: 455.8 kB / 0.5583 GB, free: 14.71 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.008508, allocations: 51.41 kB / 0.5584 GB, free: 14.65 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.713e-05/0.008595, allocations: 97.84 kB / 0.5585 GB, free: 14.55 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.00862, allocations: 29.7 kB / 0.5585 GB, free: 14.51 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.836e-05/0.008658, allocations: 80.14 kB / 0.5586 GB, free: 14.43 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/0.008704, allocations: 35.83 kB / 0.5586 GB, free: 14.39 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.005e-05/0.008764, allocations: 33.7 kB / 0.5586 GB, free: 14.36 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.008914, allocations: 318.8 kB / 0.5589 GB, free: 14.04 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.733e-05/0.008961, allocations: 19.98 kB / 0.559 GB, free: 14.02 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.611e-05/0.009007, allocations: 26.98 kB / 0.559 GB, free: 13.99 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.009111, allocations: 48.86 kB / 0.559 GB, free: 13.94 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.009111, allocations: 3.938 kB / 0.559 GB, free: 13.94 MB / 478.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001866/0.009298, allocations: 109.5 kB / 0.5591 GB, free: 13.82 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.009312, allocations: 4 kB / 0.5592 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.009317, allocations: 0 / 0.5592 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.009331, allocations: 0 / 0.5592 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.009436, allocations: 24 kB / 0.5592 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.009441, allocations: 0 / 0.5592 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.706e-05/0.009468, allocations: 4 kB / 0.5592 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.009482, allocations: 7.984 kB / 0.5592 GB, free: 13.79 MB / 478.1 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.0001117/0.009594, allocations: 122.8 kB / 0.5593 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.009616, allocations: 11.89 kB / 0.5593 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.009835, allocations: 93.8 kB / 0.5594 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.009837, allocations: 0 / 0.5594 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.009842, allocations: 0 / 0.5594 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.009851, allocations: 7.984 kB / 0.5594 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000468/0.01032, allocations: 304.6 kB / 0.5597 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01032, allocations: 0 / 0.5597 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.01045, allocations: 20.08 kB / 0.5597 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.01046, allocations: 3.938 kB / 0.5597 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.01047, allocations: 8 kB / 0.5597 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.01048, allocations: 0 / 0.5597 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01048, allocations: 0 / 0.5597 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.01078, allocations: 227.3 kB / 0.56 GB, free: 12.94 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.026e-05/0.01079, allocations: 3.984 kB / 0.56 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.01081, allocations: 8.031 kB / 0.56 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.002e-05/0.0109, allocations: 4.062 kB / 0.56 GB, free: 12.92 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.333e-05/0.01092, allocations: 7.984 kB / 0.56 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.01093, allocations: 8 kB / 0.56 GB, free: 12.91 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.254e-05/0.01098, allocations: 75.28 kB / 0.5601 GB, free: 12.83 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01098, allocations: 0 / 0.5601 GB, free: 12.83 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002899/0.01127, allocations: 35.88 kB / 0.5601 GB, free: 12.8 MB / 478.1 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.0002638/0.01153, allocations: 131.1 kB / 0.5602 GB, free: 12.66 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00016/0.01169, allocations: 59.92 kB / 0.5603 GB, free: 12.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01169, allocations: 0 / 0.5603 GB, free: 12.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 5.554e-05/0.01175, allocations: 43.95 kB / 0.5603 GB, free: 12.56 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.01196, allocations: 7.938 kB / 0.5603 GB, free: 12.55 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005031/0.01247, allocations: 232.6 kB / 0.5605 GB, free: 12.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.737e-05/0.01254, allocations: 75.33 kB / 0.5606 GB, free: 12.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 4.411e-05/0.01259, allocations: 15.86 kB / 0.5606 GB, free: 12.19 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.01262, allocations: 12.5 kB / 0.5606 GB, free: 12.18 MB / 478.1 MB Notification: Performance of SimCode: time 4.21e-07/0.01262, allocations: 4 kB / 0.5606 GB, free: 12.17 MB / 478.1 MB Notification: Performance of Templates: time 0.004007/0.01662, allocations: 0.9226 MB / 0.5615 GB, free: 11.3 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.130369696766138] Failed to read output from testmodel.py, exit status != 0: 0.0256049782037735 0.039889128 0.031218655 Calling exit ...