Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 112.6 kB / 17.33 MB, free: 5.027 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.001739/0.001739, allocations: 201.8 kB / 18.33 MB, free: 4.035 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.487/1.487, allocations: 225.6 MB / 244.8 MB, free: 13.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.881/0.881, allocations: 128.4 MB / 426.1 MB, free: 7.176 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 72.73 kB / 0.5912 GB, free: 21.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1585, allocations: 83.26 MB / 0.6725 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002433/0.161, allocations: 1.281 MB / 0.6737 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1621, allocations: 0.6113 MB / 0.6743 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.076e-05/0.1622, allocations: 4 kB / 0.6743 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.1622, allocations: 3.984 kB / 0.6743 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.068e-05/0.1622, allocations: 3.938 kB / 0.6743 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005465/0.1628, allocations: 146.6 kB / 0.6745 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.795e-05/0.1629, allocations: 23.92 kB / 0.6745 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.153e-05/0.1629, allocations: 0 / 0.6745 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.857e-05/0.1629, allocations: 7.938 kB / 0.6745 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.561e-05/0.163, allocations: 15.97 kB / 0.6745 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.163, allocations: 0 / 0.6745 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005627/0.1636, allocations: 347.3 kB / 0.6748 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.1636, allocations: 0 / 0.6748 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.868e-05/0.1636, allocations: 11.92 kB / 0.6749 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.1639, allocations: 143.5 kB / 0.675 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1639, allocations: 0 / 0.675 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1639, allocations: 3.938 kB / 0.675 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.1639, allocations: 0 / 0.675 GB, free: 1.266 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.0004842/0.1644, allocations: 363.1 kB / 0.6753 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.1644, allocations: 12.62 kB / 0.6754 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.1644, allocations: 4.938 kB / 0.6754 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.1646, allocations: 164.4 kB / 0.6755 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.1646, allocations: 4.375 kB / 0.6755 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.1646, allocations: 384 / 0.6755 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.1648, allocations: 49.56 kB / 0.6756 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1648, allocations: 0 / 0.6756 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1648, allocations: 0 / 0.6756 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1648, allocations: 3.938 kB / 0.6756 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.072e-05/0.1648, allocations: 11.98 kB / 0.6756 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002196/0.165, allocations: 165.6 kB / 0.6757 GB, free: 372 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.1652, allocations: 42.59 kB / 0.6758 GB, free: 320 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.922e-05/0.1653, allocations: 16.86 kB / 0.6758 GB, free: 300 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.1653, allocations: 11.95 kB / 0.6758 GB, free: 288 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.1653, allocations: 30.56 kB / 0.6758 GB, free: 248 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1653, allocations: 0 / 0.6758 GB, free: 248 kB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006862/0.166, allocations: 310.3 kB / 0.6761 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.1661, allocations: 55.41 kB / 0.6762 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.128e-05/0.1661, allocations: 101.8 kB / 0.6763 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.1662, allocations: 25.7 kB / 0.6763 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/0.1662, allocations: 80.14 kB / 0.6764 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.1662, allocations: 23.8 kB / 0.6764 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/0.1663, allocations: 17.72 kB / 0.6764 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1664, allocations: 318.8 kB / 0.6767 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.896e-05/0.1664, allocations: 12 kB / 0.6767 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.393e-05/0.1665, allocations: 15.98 kB / 0.6768 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.606e-05/0.1665, allocations: 28.8 kB / 0.6768 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/0.1665, allocations: 0 / 0.6768 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001027/0.1666, allocations: 69.62 kB / 0.6768 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1666, allocations: 8 kB / 0.6769 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1666, allocations: 0 / 0.6769 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1667, allocations: 0 / 0.6769 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.056e-05/0.1667, allocations: 8 kB / 0.6769 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.1667, allocations: 4 kB / 0.6769 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.952e-05/0.1667, allocations: 4.062 kB / 0.6769 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1667, allocations: 4 kB / 0.6769 GB, free: 15.07 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 9.368e-05/0.1668, allocations: 121.7 kB / 0.677 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.1669, allocations: 11.89 kB / 0.677 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.167, allocations: 69.88 kB / 0.6771 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.167, allocations: 0 / 0.6771 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.167, allocations: 4 kB / 0.6771 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.167, allocations: 0 / 0.6771 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003776/0.1674, allocations: 323.3 kB / 0.6774 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1674, allocations: 0 / 0.6774 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.011e-05/0.1675, allocations: 11.94 kB / 0.6774 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.1675, allocations: 4 kB / 0.6774 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.1675, allocations: 4 kB / 0.6774 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1675, allocations: 0 / 0.6774 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1675, allocations: 0 / 0.6774 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.1677, allocations: 188.3 kB / 0.6776 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.619e-05/0.1677, allocations: 81.06 kB / 0.6777 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.1678, allocations: 8.531 kB / 0.6777 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.1678, allocations: 0 / 0.6777 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.1679, allocations: 4 kB / 0.6777 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.1679, allocations: 4 kB / 0.6777 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.904e-05/0.1679, allocations: 87.2 kB / 0.6778 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1679, allocations: 0 / 0.6778 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002631/0.1682, allocations: 27.98 kB / 0.6778 GB, free: 14.03 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0001927/0.1684, allocations: 123.1 kB / 0.6779 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001015/0.1685, allocations: 27.92 kB / 0.6779 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1685, allocations: 4 kB / 0.6779 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.161e-05/0.1685, allocations: 16.12 kB / 0.6779 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.1687, allocations: 8.938 kB / 0.678 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004299/0.1691, allocations: 204.2 kB / 0.6781 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.1695, allocations: 0.6768 MB / 0.6788 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.667e-05/0.1695, allocations: 8 kB / 0.6788 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.114e-05/0.1695, allocations: 11.44 kB / 0.6788 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.1695, allocations: 0 / 0.6788 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of Templates: time 0.003201/0.1727, allocations: 0.6719 MB / 0.6795 GB, free: 12.26 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 480]