Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.00102/0.00102, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0008798/0.0008798, allocations: 165.9 kB / 23.96 MB, free: 0.6016 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.8854/0.8854, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.5653/0.5653, allocations: 114 MB / 374.7 MB, free: 8.727 MB / 346.7 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.5554 GB, free: 2.281 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.625e-05/1.764e-05, allocations: 2.281 kB / 0.5554 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.00141/0.001428, allocations: 1.285 MB / 0.5567 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0006428/0.002071, allocations: 0.5409 MB / 0.5572 GB, free: 452 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.137e-05/0.002092, allocations: 0 / 0.5572 GB, free: 452 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.751e-05/0.00211, allocations: 0 / 0.5572 GB, free: 452 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.673e-05/0.002146, allocations: 3.984 kB / 0.5572 GB, free: 448 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003728/0.002519, allocations: 154.4 kB / 0.5574 GB, free: 296 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 5.263e-05/0.002572, allocations: 19.94 kB / 0.5574 GB, free: 276 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.801e-05/0.00261, allocations: 0 / 0.5574 GB, free: 276 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.876e-05/0.002658, allocations: 15.92 kB / 0.5574 GB, free: 260 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.12e-05/0.0027, allocations: 3.984 kB / 0.5574 GB, free: 256 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.002713, allocations: 4 kB / 0.5574 GB, free: 252 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002728/0.002986, allocations: 271.4 kB / 0.5577 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.002999, allocations: 0 / 0.5577 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 1.685e-05/0.003016, allocations: 11.98 kB / 0.5577 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.003198, allocations: 155.5 kB / 0.5578 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.0032, allocations: 0 / 0.5578 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.22e-07/0.003201, allocations: 0 / 0.5578 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.003204, allocations: 0 / 0.5578 GB, free: 15.82 MB / 0.5261 GB 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.0003093/0.003513, allocations: 286 kB / 0.5581 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.003546, allocations: 8.031 kB / 0.5581 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.003576, allocations: 4.891 kB / 0.5581 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.75e-05/0.003644, allocations: 109.8 kB / 0.5582 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.003654, allocations: 4.312 kB / 0.5582 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.003674, allocations: 8.375 kB / 0.5582 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.729e-05/0.003771, allocations: 67.89 kB / 0.5583 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.003778, allocations: 7.938 kB / 0.5583 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.003786, allocations: 0 / 0.5583 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.00379, allocations: 4 kB / 0.5583 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.084e-05/0.003821, allocations: 4 kB / 0.5583 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001059/0.003927, allocations: 109.3 kB / 0.5584 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.004077, allocations: 46.55 kB / 0.5585 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.224e-05/0.004099, allocations: 12.86 kB / 0.5585 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.004116, allocations: 4 kB / 0.5585 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.004133, allocations: 30.56 kB / 0.5585 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.004133, allocations: 0 / 0.5585 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0004318/0.004565, allocations: 253.1 kB / 0.5587 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.004591, allocations: 51.41 kB / 0.5588 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.312e-05/0.004634, allocations: 93.86 kB / 0.5589 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.908e-06/0.004644, allocations: 29.7 kB / 0.5589 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.072e-05/0.004664, allocations: 80.14 kB / 0.559 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.004689, allocations: 23.78 kB / 0.559 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.004714, allocations: 17.72 kB / 0.559 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.297e-05/0.004787, allocations: 322.8 kB / 0.5593 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.751e-05/0.004804, allocations: 8 kB / 0.5593 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.378e-05/0.004818, allocations: 8 kB / 0.5593 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.521e-05/0.004863, allocations: 48.92 kB / 0.5594 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.004864, allocations: 0 / 0.5594 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.964e-05/0.004924, allocations: 61.69 kB / 0.5594 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.004934, allocations: 7.938 kB / 0.5595 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.004938, allocations: 0 / 0.5595 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.004948, allocations: 3.984 kB / 0.5595 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.324e-05/0.004982, allocations: 16.06 kB / 0.5595 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.004986, allocations: 0 / 0.5595 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.025e-05/0.004996, allocations: 4 kB / 0.5595 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.005001, allocations: 0 / 0.5595 GB, free: 13.91 MB / 0.5261 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 (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 5.385e-05/0.005054, allocations: 117.8 kB / 0.5596 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-06/0.00506, allocations: 4 kB / 0.5596 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.843e-05/0.005148, allocations: 77.73 kB / 0.5597 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.005149, allocations: 0 / 0.5597 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.005153, allocations: 0 / 0.5597 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.005155, allocations: 3.938 kB / 0.5597 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.005349, allocations: 263 kB / 0.5599 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.005352, allocations: 7.938 kB / 0.5599 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.219e-05/0.005385, allocations: 8 kB / 0.5599 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.005386, allocations: 0 / 0.5599 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.005392, allocations: 8.031 kB / 0.5599 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.005394, allocations: 0 / 0.5599 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.005395, allocations: 0 / 0.5599 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.00551, allocations: 180.3 kB / 0.5601 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.287e-05/0.005523, allocations: 3.938 kB / 0.5601 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-06/0.005532, allocations: 4.031 kB / 0.5601 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.994e-05/0.005572, allocations: 3.984 kB / 0.5601 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.437e-05/0.005587, allocations: 8 kB / 0.5601 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.005589, allocations: 0 / 0.5601 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.107e-05/0.005611, allocations: 79.28 kB / 0.5602 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.005611, allocations: 0 / 0.5602 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001569/0.005767, allocations: 31.92 kB / 0.5602 GB, free: 13.05 MB / 0.5261 GB 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.0001137/0.005881, allocations: 119.3 kB / 0.5604 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.354e-05/0.005955, allocations: 35.92 kB / 0.5604 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.005956, allocations: 0 / 0.5604 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.776e-05/0.005974, allocations: 19.94 kB / 0.5604 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.006122, allocations: 13.81 kB / 0.5604 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002825/0.006405, allocations: 200.1 kB / 0.5606 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.229e-05/0.006447, allocations: 63.34 kB / 0.5607 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.586e-05/0.006463, allocations: 12.5 kB / 0.5607 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of SimCode: time 2.51e-07/0.006463, allocations: 0 / 0.5607 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of Templates: time 0.001745/0.008208, allocations: 0.8132 MB / 0.5615 GB, free: 11.73 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.899301216937602] Failed to read output from testmodel.py, exit status != 0: 0.012607024982571602 0.02549531 0.019848736000000002 Calling exit ...