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.001813/0.001813, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.0016/0.0016, allocations: 206.5 kB / 23.74 MB, free: 4.543 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.43/1.43, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.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.962/0.962, allocations: 149.9 MB / 463.8 MB, free: 10.36 MB / 366.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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 73.11 kB / 0.6423 GB, free: 9.633 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1632, allocations: 89.16 MB / 0.7294 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002445/0.1657, allocations: 1.292 MB / 0.7306 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.1667, allocations: 0.5448 MB / 0.7312 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.301e-05/0.1667, allocations: 0 / 0.7312 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.197e-05/0.1667, allocations: 3.938 kB / 0.7312 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.602e-05/0.1668, allocations: 3.938 kB / 0.7312 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005714/0.1674, allocations: 151.4 kB / 0.7313 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.961e-05/0.1674, allocations: 27.92 kB / 0.7314 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.058e-05/0.1675, allocations: 7.984 kB / 0.7314 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.653e-05/0.1675, allocations: 11.94 kB / 0.7314 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.097e-05/0.1676, allocations: 15.91 kB / 0.7314 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.1676, allocations: 4 kB / 0.7314 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000434/0.168, allocations: 263.5 kB / 0.7316 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.995e-05/0.168, allocations: 7.984 kB / 0.7316 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.624e-05/0.1681, allocations: 15.92 kB / 0.7317 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.1683, allocations: 144.9 kB / 0.7318 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1683, allocations: 0 / 0.7318 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1683, allocations: 0 / 0.7318 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.1683, allocations: 4 kB / 0.7318 GB, free: 14.04 MB / 0.5606 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.0004345/0.1688, allocations: 297.9 kB / 0.7321 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1688, allocations: 8.031 kB / 0.7321 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/0.1688, allocations: 4.938 kB / 0.7321 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.1689, allocations: 102.5 kB / 0.7322 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.169, allocations: 4.375 kB / 0.7322 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.169, allocations: 4.375 kB / 0.7322 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.1692, allocations: 112.9 kB / 0.7323 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.1692, allocations: 7.953 kB / 0.7323 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.1692, allocations: 0 / 0.7323 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1692, allocations: 8 kB / 0.7323 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.459e-05/0.1692, allocations: 19.98 kB / 0.7323 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.1694, allocations: 117.2 kB / 0.7325 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.1695, allocations: 54.56 kB / 0.7325 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.766e-05/0.1696, allocations: 28.84 kB / 0.7325 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.1696, allocations: 0 / 0.7325 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.1696, allocations: 38.44 kB / 0.7326 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 8.31e-07/0.1696, allocations: 0 / 0.7326 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001109/0.1707, allocations: 447.8 kB / 0.733 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.1708, allocations: 51.41 kB / 0.7331 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.608e-05/0.1709, allocations: 93.86 kB / 0.7331 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.1709, allocations: 29.7 kB / 0.7332 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.046e-05/0.1709, allocations: 80.14 kB / 0.7332 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.717e-05/0.171, allocations: 43.64 kB / 0.7333 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.171, allocations: 29.7 kB / 0.7333 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1712, allocations: 314.8 kB / 0.7336 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.415e-05/0.1712, allocations: 19.98 kB / 0.7336 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.016e-05/0.1712, allocations: 28.11 kB / 0.7337 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.982e-05/0.1713, allocations: 60.05 kB / 0.7337 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1713, allocations: 0 / 0.7337 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001566/0.1715, allocations: 105.5 kB / 0.7338 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1715, allocations: 4 kB / 0.7338 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1715, allocations: 3.984 kB / 0.7338 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.1715, allocations: 4 kB / 0.7338 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.1716, allocations: 16 kB / 0.7338 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1717, allocations: 4 kB / 0.7339 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.877e-05/0.1717, allocations: 8 kB / 0.7339 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.1717, allocations: 0 / 0.7339 GB, free: 11.7 MB / 0.5606 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 9.55e-05/0.1718, allocations: 129.7 kB / 0.734 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.1718, allocations: 4 kB / 0.734 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002025/0.172, allocations: 102.5 kB / 0.7341 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.172, allocations: 4 kB / 0.7341 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.172, allocations: 0 / 0.7341 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.172, allocations: 0 / 0.7341 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004102/0.1724, allocations: 304.6 kB / 0.7344 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1724, allocations: 0 / 0.7344 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.1725, allocations: 19.98 kB / 0.7344 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.1725, allocations: 4.094 kB / 0.7344 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.1725, allocations: 11.94 kB / 0.7344 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.1725, allocations: 3.984 kB / 0.7344 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1725, allocations: 0 / 0.7344 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.1728, allocations: 219.3 kB / 0.7346 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.384e-05/0.1728, allocations: 11.97 kB / 0.7346 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.1729, allocations: 3.984 kB / 0.7346 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.716e-05/0.1729, allocations: 4 kB / 0.7346 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.477e-05/0.173, allocations: 7.984 kB / 0.7347 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.173, allocations: 4 kB / 0.7347 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.695e-05/0.173, allocations: 79.34 kB / 0.7347 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.173, allocations: 0 / 0.7347 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000287/0.1733, allocations: 35.88 kB / 0.7348 GB, free: 10.7 MB / 0.5606 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.00022/0.1735, allocations: 131.1 kB / 0.7349 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001543/0.1737, allocations: 63.8 kB / 0.735 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1737, allocations: 0 / 0.735 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.155e-05/0.1737, allocations: 31.92 kB / 0.735 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.174, allocations: 8 kB / 0.735 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005859/0.1746, allocations: 311 kB / 0.7353 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.524e-05/0.1746, allocations: 76.2 kB / 0.7354 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.415e-05/0.1747, allocations: 15.44 kB / 0.7354 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.1747, allocations: 0 / 0.7354 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of Templates: time 0.003067/0.1777, allocations: 1.144 MB / 0.7365 GB, free: 8.887 MB / 0.5606 GB " [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 os._exit(0), Time elapsed: 8.030178033281118] Failed to read output from testmodel.py, exit status != 0: 0.186125161126256 0.20025231100000002 0.028870819000000002 Calling exit ...