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.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=500,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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 114.2 kB / 17.33 MB, free: 5.008 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.00126/0.00126, allocations: 198.6 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.451/1.451, allocations: 225.6 MB / 244.8 MB, free: 13.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8537/0.8537, allocations: 128.4 MB / 426.1 MB, free: 7.184 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 64.41 kB / 0.5912 GB, free: 21.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.16, allocations: 83.27 MB / 0.6725 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002559/0.1626, allocations: 1.278 MB / 0.6737 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.1637, allocations: 0.6177 MB / 0.6743 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.526e-05/0.1637, allocations: 4 kB / 0.6743 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.134e-05/0.1637, allocations: 7.938 kB / 0.6743 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.335e-05/0.1637, allocations: 0 / 0.6743 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005432/0.1643, allocations: 154 kB / 0.6745 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.339e-05/0.1643, allocations: 27.92 kB / 0.6745 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.947e-05/0.1644, allocations: 0 / 0.6745 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.914e-05/0.1644, allocations: 15.94 kB / 0.6745 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.171e-05/0.1645, allocations: 15.97 kB / 0.6745 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.1645, allocations: 3.938 kB / 0.6745 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005398/0.165, allocations: 343.4 kB / 0.6749 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.1651, allocations: 7.922 kB / 0.6749 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.268e-05/0.1651, allocations: 19.92 kB / 0.6749 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.1654, allocations: 151.5 kB / 0.675 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1654, allocations: 0 / 0.675 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1654, allocations: 0 / 0.675 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.1654, allocations: 0 / 0.675 GB, free: 1.219 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004714/0.1658, allocations: 375 kB / 0.6754 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.1659, allocations: 8.625 kB / 0.6754 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.1659, allocations: 4.938 kB / 0.6754 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.166, allocations: 168.3 kB / 0.6756 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.1661, allocations: 4.375 kB / 0.6756 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.1661, allocations: 8.312 kB / 0.6756 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.1662, allocations: 49.62 kB / 0.6756 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.1662, allocations: 0 / 0.6756 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.1662, allocations: 4 kB / 0.6756 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1662, allocations: 0 / 0.6756 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.138e-05/0.1663, allocations: 19.98 kB / 0.6757 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002141/0.1665, allocations: 173.6 kB / 0.6758 GB, free: 288 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.1666, allocations: 54.5 kB / 0.6759 GB, free: 224 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.729e-05/0.1667, allocations: 28.84 kB / 0.6759 GB, free: 192 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.1667, allocations: 7.938 kB / 0.6759 GB, free: 184 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.1667, allocations: 30.56 kB / 0.6759 GB, free: 144 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.1667, allocations: 0 / 0.6759 GB, free: 144 kB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001202/0.1679, allocations: 0.588 MB / 0.6765 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.168, allocations: 51.41 kB / 0.6766 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.039e-05/0.1681, allocations: 97.86 kB / 0.6767 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.1681, allocations: 25.7 kB / 0.6767 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.774e-05/0.1681, allocations: 88.27 kB / 0.6768 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.416e-05/0.1682, allocations: 43.64 kB / 0.6768 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.566e-05/0.1682, allocations: 25.7 kB / 0.6768 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1684, allocations: 314.8 kB / 0.6771 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.682e-05/0.1684, allocations: 27.86 kB / 0.6772 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.316e-05/0.1685, allocations: 23.98 kB / 0.6772 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.1686, allocations: 60.8 kB / 0.6772 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1686, allocations: 0 / 0.6772 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001535/0.1687, allocations: 93.31 kB / 0.6773 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.1687, allocations: 8 kB / 0.6773 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1687, allocations: 0 / 0.6773 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.1688, allocations: 4 kB / 0.6773 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.1689, allocations: 27.92 kB / 0.6774 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.1689, allocations: 0 / 0.6774 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.411e-05/0.1689, allocations: 0 / 0.6774 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.1689, allocations: 4 kB / 0.6774 GB, free: 14.53 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 (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.0001049/0.169, allocations: 121.8 kB / 0.6775 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.169, allocations: 7.953 kB / 0.6775 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/0.1692, allocations: 117.5 kB / 0.6776 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1692, allocations: 96 / 0.6776 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.82e-06/0.1693, allocations: 3.938 kB / 0.6776 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.1693, allocations: 7.984 kB / 0.6776 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004758/0.1697, allocations: 346.5 kB / 0.6779 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1697, allocations: 0 / 0.6779 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.1699, allocations: 27.92 kB / 0.678 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1699, allocations: 0 / 0.678 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.1699, allocations: 4 kB / 0.678 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1699, allocations: 0 / 0.678 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1699, allocations: 4 kB / 0.678 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.1701, allocations: 219.3 kB / 0.6782 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.419e-05/0.1702, allocations: 85.06 kB / 0.6783 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.1702, allocations: 4.031 kB / 0.6783 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.71e-05/0.1703, allocations: 0 / 0.6783 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/0.1703, allocations: 7.984 kB / 0.6783 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.1704, allocations: 11.94 kB / 0.6783 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.256e-05/0.1704, allocations: 79.34 kB / 0.6784 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.1704, allocations: 0 / 0.6784 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002643/0.1707, allocations: 35.88 kB / 0.6784 GB, free: 13.36 MB / 0.5137 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.0002298/0.1709, allocations: 139 kB / 0.6785 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001613/0.1711, allocations: 55.92 kB / 0.6786 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1711, allocations: 0 / 0.6786 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.545e-05/0.1711, allocations: 35.92 kB / 0.6786 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.1713, allocations: 8.094 kB / 0.6786 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005639/0.1719, allocations: 288.6 kB / 0.6789 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.1723, allocations: 0.6885 MB / 0.6796 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.706e-05/0.1723, allocations: 11.98 kB / 0.6796 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.553e-05/0.1723, allocations: 11.44 kB / 0.6796 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of SimCode: time 3.41e-07/0.1723, allocations: 4 kB / 0.6796 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of Templates: time 0.00362/0.176, allocations: 0.9748 MB / 0.6806 GB, free: 11.13 MB / 0.5137 GB 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]