Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002173/0.002173, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002323/0.002323, allocations: 190.5 kB / 22.23 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9072/0.9072, allocations: 134 MB / 440.3 MB, free: 308 kB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 63.14 kB / 0.6107 GB, free: 13.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1742, allocations: 84.73 MB / 0.6935 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002592/0.1767, allocations: 1.27 MB / 0.6947 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.1779, allocations: 0.6149 MB / 0.6953 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.286e-05/0.178, allocations: 3.938 kB / 0.6953 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.711e-05/0.178, allocations: 0 / 0.6953 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.759e-05/0.178, allocations: 3.938 kB / 0.6953 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006634/0.1787, allocations: 149.5 kB / 0.6955 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.978e-05/0.1788, allocations: 19.92 kB / 0.6955 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.653e-05/0.1788, allocations: 8 kB / 0.6955 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.01e-05/0.1789, allocations: 11.94 kB / 0.6955 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.259e-05/0.1789, allocations: 11.97 kB / 0.6955 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.1789, allocations: 0 / 0.6955 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005552/0.1795, allocations: 339.3 kB / 0.6958 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.1795, allocations: 11.92 kB / 0.6959 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.497e-05/0.1795, allocations: 7.984 kB / 0.6959 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.1799, allocations: 143.5 kB / 0.696 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1799, allocations: 4 kB / 0.696 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1799, allocations: 0 / 0.696 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.1799, allocations: 0 / 0.696 GB, free: 6.461 MB / 0.5137 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.0004831/0.1803, allocations: 293.9 kB / 0.6963 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.1804, allocations: 12.03 kB / 0.6963 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/0.1804, allocations: 4.922 kB / 0.6963 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.1806, allocations: 106.5 kB / 0.6964 GB, free: 6 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.1806, allocations: 384 / 0.6964 GB, free: 6 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.1806, allocations: 384 / 0.6964 GB, free: 6 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.1807, allocations: 53.56 kB / 0.6965 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1807, allocations: 0 / 0.6965 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.1808, allocations: 0 / 0.6965 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1808, allocations: 0 / 0.6965 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.899e-05/0.1808, allocations: 12 kB / 0.6965 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001953/0.181, allocations: 124.8 kB / 0.6966 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.1812, allocations: 38.61 kB / 0.6966 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.626e-05/0.1813, allocations: 28.92 kB / 0.6967 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.1813, allocations: 7.875 kB / 0.6967 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.808e-05/0.1813, allocations: 38.56 kB / 0.6967 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1813, allocations: 0 / 0.6967 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0006543/0.182, allocations: 233.1 kB / 0.6969 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.182, allocations: 51.41 kB / 0.697 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.765e-05/0.1821, allocations: 101.8 kB / 0.6971 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.1821, allocations: 29.7 kB / 0.6971 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.423e-05/0.1822, allocations: 84.14 kB / 0.6972 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.1822, allocations: 15.86 kB / 0.6972 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.263e-05/0.1823, allocations: 25.7 kB / 0.6972 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002472/0.1825, allocations: 314.8 kB / 0.6975 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.817e-05/0.1825, allocations: 7.984 kB / 0.6975 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.255e-05/0.1826, allocations: 15.94 kB / 0.6975 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.1827, allocations: 36.8 kB / 0.6976 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1827, allocations: 8.062 kB / 0.6976 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000106/0.1828, allocations: 65.62 kB / 0.6976 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1828, allocations: 4 kB / 0.6976 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.1828, allocations: 0 / 0.6976 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1828, allocations: 0 / 0.6976 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.088e-05/0.1829, allocations: 15.98 kB / 0.6977 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1829, allocations: 0 / 0.6977 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.643e-05/0.1829, allocations: 0 / 0.6977 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.1829, allocations: 11.94 kB / 0.6977 GB, free: 4.543 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.319e-05/0.183, allocations: 117.7 kB / 0.6978 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/0.183, allocations: 7.953 kB / 0.6978 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001503/0.1832, allocations: 77.72 kB / 0.6979 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1832, allocations: 0 / 0.6979 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1832, allocations: 0 / 0.6979 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1832, allocations: 0 / 0.6979 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003567/0.1835, allocations: 286.4 kB / 0.6981 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1835, allocations: 0 / 0.6981 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.946e-05/0.1836, allocations: 8 kB / 0.6981 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1836, allocations: 4.031 kB / 0.6981 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.1836, allocations: 4 kB / 0.6982 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1836, allocations: 3.984 kB / 0.6982 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1836, allocations: 0 / 0.6982 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.1838, allocations: 176.3 kB / 0.6983 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 2.316e-05/0.1838, allocations: 11.97 kB / 0.6983 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.1839, allocations: 8.188 kB / 0.6983 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.483e-05/0.1839, allocations: 8.062 kB / 0.6984 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.276e-05/0.1839, allocations: 0 / 0.6984 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.184, allocations: 7.984 kB / 0.6984 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.634e-05/0.184, allocations: 83.73 kB / 0.6984 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.184, allocations: 0 / 0.6984 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002561/0.1843, allocations: 23.88 kB / 0.6985 GB, free: 3.641 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.0002001/0.1845, allocations: 115.2 kB / 0.6986 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000122/0.1846, allocations: 39.92 kB / 0.6986 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1846, allocations: 0 / 0.6986 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.796e-05/0.1846, allocations: 12 kB / 0.6986 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.1848, allocations: 11.92 kB / 0.6986 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005202/0.1854, allocations: 192.4 kB / 0.6988 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005534/0.1859, allocations: 0.6807 MB / 0.6995 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.591e-05/0.186, allocations: 16.52 kB / 0.6995 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.269e-05/0.186, allocations: 15.38 kB / 0.6995 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of SimCode: time 6.41e-07/0.186, allocations: 0 / 0.6995 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of Templates: time 0.003241/0.1892, allocations: 0.6639 MB / 0.7002 GB, free: 1.875 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.7271995935589075] Failed to read output from testmodel.py, exit status != 0: 0.19730516988784075 0.21353379700000003 0.030360002 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fe41f2e57b0>