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.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=500,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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 111.2 kB / 17.33 MB, free: 5.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 201.8 kB / 18.33 MB, free: 4.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 225.6 MB / 244.8 MB, free: 13.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8903/0.8903, allocations: 128.4 MB / 426.1 MB, free: 7.184 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003133/0.003133, allocations: 63.45 kB / 0.5912 GB, free: 21.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2234, allocations: 83.26 MB / 0.6725 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.003215/0.2266, allocations: 1.258 MB / 0.6737 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.2279, allocations: 0.6294 MB / 0.6743 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.748e-05/0.2279, allocations: 0 / 0.6743 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.088e-05/0.2279, allocations: 3.938 kB / 0.6743 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.495e-05/0.228, allocations: 0 / 0.6743 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007607/0.2287, allocations: 143.4 kB / 0.6745 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.449e-05/0.2288, allocations: 23.92 kB / 0.6745 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.312e-05/0.2289, allocations: 3.984 kB / 0.6745 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.804e-05/0.2289, allocations: 7.984 kB / 0.6745 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.544e-05/0.229, allocations: 7.938 kB / 0.6745 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.229, allocations: 0 / 0.6745 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006722/0.2297, allocations: 343.3 kB / 0.6748 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.2297, allocations: 8 kB / 0.6748 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.138e-05/0.2297, allocations: 7.938 kB / 0.6748 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004728/0.2302, allocations: 147.5 kB / 0.675 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2302, allocations: 4 kB / 0.675 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2302, allocations: 0 / 0.675 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.2302, allocations: 0 / 0.675 GB, free: 1.289 MB / 0.4981 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.000576/0.2308, allocations: 359.1 kB / 0.6753 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.2308, allocations: 8.625 kB / 0.6753 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.2309, allocations: 4.938 kB / 0.6753 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.2311, allocations: 168.4 kB / 0.6755 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.2311, allocations: 8.312 kB / 0.6755 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.2311, allocations: 4.375 kB / 0.6755 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.2313, allocations: 49.56 kB / 0.6756 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.2313, allocations: 0 / 0.6756 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.2313, allocations: 4 kB / 0.6756 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2313, allocations: 0 / 0.6756 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.607e-05/0.2313, allocations: 4 kB / 0.6756 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002272/0.2316, allocations: 169.5 kB / 0.6757 GB, free: 396 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/0.2318, allocations: 38.61 kB / 0.6758 GB, free: 348 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.458e-05/0.2318, allocations: 24.88 kB / 0.6758 GB, free: 320 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.2319, allocations: 7.938 kB / 0.6758 GB, free: 312 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.2319, allocations: 34.56 kB / 0.6758 GB, free: 268 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.2319, allocations: 0 / 0.6758 GB, free: 268 kB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0008095/0.2327, allocations: 306.6 kB / 0.6761 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.2327, allocations: 55.39 kB / 0.6762 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.323e-05/0.2328, allocations: 93.86 kB / 0.6763 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.2329, allocations: 37.7 kB / 0.6763 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.285e-05/0.2329, allocations: 80.14 kB / 0.6764 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.2329, allocations: 23.78 kB / 0.6764 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/0.233, allocations: 21.72 kB / 0.6764 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.2331, allocations: 310.8 kB / 0.6767 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.189e-05/0.2332, allocations: 15.98 kB / 0.6767 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.329e-05/0.2332, allocations: 8 kB / 0.6767 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.097e-05/0.2333, allocations: 36.94 kB / 0.6768 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.2333, allocations: 4 kB / 0.6768 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001198/0.2334, allocations: 73.61 kB / 0.6768 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.2334, allocations: 4 kB / 0.6768 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.2334, allocations: 0 / 0.6768 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.2334, allocations: 0 / 0.6768 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.08e-05/0.2335, allocations: 15.98 kB / 0.6769 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.2335, allocations: 0 / 0.6769 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.966e-05/0.2335, allocations: 0 / 0.6769 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.2335, allocations: 4 kB / 0.6769 GB, free: 15.09 MB / 0.5137 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 0.0001669/0.2337, allocations: 121.7 kB / 0.677 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.943e-05/0.2337, allocations: 7.953 kB / 0.677 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.2339, allocations: 69.64 kB / 0.6771 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.2339, allocations: 0 / 0.6771 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2339, allocations: 0 / 0.6771 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2339, allocations: 0 / 0.6771 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003814/0.2343, allocations: 315.5 kB / 0.6774 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.2343, allocations: 4 kB / 0.6774 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.603e-05/0.2343, allocations: 11.98 kB / 0.6774 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2343, allocations: 7.969 kB / 0.6774 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.2344, allocations: 11.94 kB / 0.6774 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2344, allocations: 0 / 0.6774 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2344, allocations: 0 / 0.6774 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.2346, allocations: 176.3 kB / 0.6776 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.609e-05/0.2346, allocations: 89.08 kB / 0.6776 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.2347, allocations: 0 / 0.6776 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.823e-05/0.2347, allocations: 8.062 kB / 0.6777 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.2348, allocations: 3.984 kB / 0.6777 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.2348, allocations: 4 kB / 0.6777 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.988e-05/0.2348, allocations: 87.22 kB / 0.6777 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.2348, allocations: 0 / 0.6777 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002806/0.2351, allocations: 15.94 kB / 0.6778 GB, free: 14.06 MB / 0.5137 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.0002174/0.2353, allocations: 127.1 kB / 0.6779 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001285/0.2354, allocations: 35.92 kB / 0.6779 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2354, allocations: 0 / 0.6779 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.485e-05/0.2355, allocations: 23.92 kB / 0.6779 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.2357, allocations: 8 kB / 0.6779 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005064/0.2362, allocations: 196.6 kB / 0.6781 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.2365, allocations: 0.6807 MB / 0.6788 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.105e-05/0.2366, allocations: 7.984 kB / 0.6788 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.297e-05/0.2366, allocations: 11.44 kB / 0.6788 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of SimCode: time 4.51e-07/0.2366, allocations: 0 / 0.6788 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of Templates: time 0.003354/0.2399, allocations: 0.6419 MB / 0.6794 GB, free: 12.28 MB / 0.5137 GB 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]