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.00117/0.00117, allocations: 76.94 kB / 20.72 MB, free: 3.758 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.001713/0.001713, allocations: 169 kB / 24.14 MB, free: 352 kB / 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.9326/0.9326, allocations: 177.2 MB / 204.6 MB, free: 5.473 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.5689/0.5689, allocations: 115 MB / 376 MB, free: 7.469 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_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.403e-06/1.403e-06, allocations: 0 / 428.7 MB, free: 2.762 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.334e-05/1.474e-05, allocations: 2.312 kB / 428.7 MB, free: 2.758 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001579/0.001594, allocations: 1.341 MB / 430.1 MB, free: 1.406 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006834/0.002277, allocations: 0.5798 MB / 430.7 MB, free: 0.8242 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.393e-05/0.002301, allocations: 0 / 430.7 MB, free: 0.8242 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.645e-05/0.002318, allocations: 3.938 kB / 430.7 MB, free: 0.8203 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 4.006e-05/0.002358, allocations: 0 / 430.7 MB, free: 0.8203 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.002797, allocations: 163.2 kB / 430.8 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 5e-05/0.002847, allocations: 23.92 kB / 430.9 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.19e-05/0.002878, allocations: 8 kB / 430.9 MB, free: 0.6289 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.356e-05/0.002912, allocations: 23.91 kB / 430.9 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.822e-05/0.00296, allocations: 7.984 kB / 430.9 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.002972, allocations: 0 / 430.9 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002747/0.003246, allocations: 267.4 kB / 431.2 MB, free: 344 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.003263, allocations: 7.969 kB / 431.2 MB, free: 336 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.673e-05/0.00328, allocations: 12 kB / 431.2 MB, free: 324 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.003464, allocations: 163.4 kB / 431.3 MB, free: 160 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.003465, allocations: 0 / 431.3 MB, free: 160 kB / 394.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.003466, allocations: 0 / 431.3 MB, free: 160 kB / 394.7 MB Notification: Performance of Transformations before backend: time 2.915e-06/0.003469, allocations: 0 / 431.3 MB, free: 160 kB / 394.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.0002588/0.003727, allocations: 280.2 kB / 431.6 MB, free: 15.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.003757, allocations: 8.031 kB / 431.6 MB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.398e-05/0.003781, allocations: 8.938 kB / 431.6 MB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.202e-05/0.003843, allocations: 106.1 kB / 431.7 MB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-06/0.003851, allocations: 4.375 kB / 431.7 MB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.003872, allocations: 8.328 kB / 431.7 MB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.253e-05/0.003955, allocations: 97.64 kB / 431.8 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.003963, allocations: 7.875 kB / 431.8 MB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.00397, allocations: 4 kB / 431.8 MB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.003974, allocations: 0 / 431.8 MB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.091e-05/0.003995, allocations: 19.98 kB / 431.9 MB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.102e-05/0.004076, allocations: 65.05 kB / 431.9 MB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.712e-05/0.004143, allocations: 50.62 kB / 432 MB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.7e-05/0.00416, allocations: 12.86 kB / 432 MB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.004172, allocations: 4 kB / 432 MB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.004193, allocations: 34.72 kB / 432 MB, free: 15.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 7.42e-07/0.004193, allocations: 0 / 432 MB, free: 15.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006799/0.004873, allocations: 443.4 kB / 432.5 MB, free: 14.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.004897, allocations: 51.41 kB / 432.5 MB, free: 14.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.487e-05/0.004942, allocations: 106.7 kB / 432.6 MB, free: 14.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.004953, allocations: 29.7 kB / 432.6 MB, free: 14.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.866e-05/0.004972, allocations: 80.14 kB / 432.7 MB, free: 14.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/0.005005, allocations: 55.75 kB / 432.8 MB, free: 14.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.005034, allocations: 21.72 kB / 432.8 MB, free: 14.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.739e-05/0.005101, allocations: 318.8 kB / 433.1 MB, free: 14.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.388e-05/0.005115, allocations: 12 kB / 433.1 MB, free: 14.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.506e-05/0.00513, allocations: 11.94 kB / 433.1 MB, free: 14.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.124e-05/0.005171, allocations: 45.06 kB / 433.2 MB, free: 14.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.005172, allocations: 0 / 433.2 MB, free: 14.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.747e-05/0.00525, allocations: 65.67 kB / 433.2 MB, free: 14.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.005259, allocations: 8 kB / 433.2 MB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.005264, allocations: 3.938 kB / 433.3 MB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.005272, allocations: 0 / 433.3 MB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.075e-05/0.005333, allocations: 31.92 kB / 433.3 MB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.005338, allocations: 4 kB / 433.3 MB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.201e-05/0.00535, allocations: 3.938 kB / 433.3 MB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.005354, allocations: 0 / 433.3 MB, free: 13.98 MB / 410.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 4.694e-05/0.005401, allocations: 117.8 kB / 433.4 MB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.714e-05/0.005438, allocations: 8 kB / 433.4 MB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.005549, allocations: 77.66 kB / 433.5 MB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.005552, allocations: 4 kB / 433.5 MB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.005554, allocations: 0 / 433.5 MB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.005557, allocations: 3.984 kB / 433.5 MB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.005751, allocations: 226.8 kB / 433.7 MB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.005753, allocations: 0 / 433.7 MB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.928e-05/0.005822, allocations: 23.92 kB / 433.7 MB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.005825, allocations: 7.875 kB / 433.7 MB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-06/0.00583, allocations: 0 / 433.7 MB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.005833, allocations: 4 kB / 433.8 MB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.005834, allocations: 0 / 433.8 MB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.005948, allocations: 179.5 kB / 433.9 MB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-06/0.005953, allocations: 0 / 433.9 MB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.005965, allocations: 15.92 kB / 433.9 MB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.651e-05/0.006001, allocations: 0 / 433.9 MB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.243e-05/0.006014, allocations: 12.02 kB / 434 MB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.00602, allocations: 4 kB / 434 MB, free: 13.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.368e-06/0.006029, allocations: 8.859 kB / 434 MB, free: 13.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006029, allocations: 0 / 434 MB, free: 13.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001566/0.006186, allocations: 35.88 kB / 434 MB, free: 13.2 MB / 410.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.000125/0.006311, allocations: 116.2 kB / 434.1 MB, free: 13.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.473e-05/0.006376, allocations: 44.78 kB / 434.2 MB, free: 13.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.006378, allocations: 0 / 434.2 MB, free: 13.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.26e-05/0.006401, allocations: 36.88 kB / 434.2 MB, free: 12.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.741e-05/0.006498, allocations: 11.61 kB / 434.2 MB, free: 12.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003927/0.006891, allocations: 220.2 kB / 434.4 MB, free: 12.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.948e-05/0.00692, allocations: 63.2 kB / 434.5 MB, free: 12.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.804e-05/0.006948, allocations: 11.98 kB / 434.5 MB, free: 12.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.899e-05/0.006997, allocations: 71.36 kB / 434.6 MB, free: 12.58 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.006998, allocations: 0 / 434.6 MB, free: 12.58 MB / 410.7 MB Notification: Performance of Templates: time 0.002366/0.009364, allocations: 1.071 MB / 435.6 MB, free: 11.5 MB / 410.7 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2732601780444384]