Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001657/0.001657, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.00201/0.00201, allocations: 216.3 kB / 23.01 MB, free: 4.566 MB / 14.72 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 1.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 8.242 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.8465/0.8465, allocations: 134 MB / 447.2 MB, free: 10.19 MB / 350.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.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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 71.16 kB / 0.6198 GB, free: 6.734 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1755, allocations: 85.91 MB / 0.7037 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002754/0.1782, allocations: 1.298 MB / 0.7049 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.1794, allocations: 0.6304 MB / 0.7056 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.869e-05/0.1795, allocations: 0 / 0.7056 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.417e-05/0.1795, allocations: 0 / 0.7056 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.254e-05/0.1795, allocations: 3.938 kB / 0.7056 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006471/0.1802, allocations: 159.4 kB / 0.7057 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.783e-05/0.1803, allocations: 31.86 kB / 0.7057 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.383e-05/0.1803, allocations: 0 / 0.7057 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.627e-05/0.1803, allocations: 12 kB / 0.7058 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.72e-05/0.1804, allocations: 15.91 kB / 0.7058 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.1804, allocations: 0 / 0.7058 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005561/0.181, allocations: 343.3 kB / 0.7061 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.181, allocations: 7.969 kB / 0.7061 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.907e-05/0.181, allocations: 15.94 kB / 0.7061 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.1813, allocations: 159.4 kB / 0.7063 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1813, allocations: 4 kB / 0.7063 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1813, allocations: 0 / 0.7063 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.1813, allocations: 0 / 0.7063 GB, free: 14.21 MB / 0.5294 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.0004522/0.1818, allocations: 290 kB / 0.7066 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.1818, allocations: 8.625 kB / 0.7066 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.1818, allocations: 8.875 kB / 0.7066 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.182, allocations: 118.4 kB / 0.7067 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.182, allocations: 8.375 kB / 0.7067 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.182, allocations: 4.375 kB / 0.7067 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.1821, allocations: 53.62 kB / 0.7067 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1821, allocations: 0 / 0.7067 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1822, allocations: 4 kB / 0.7068 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.1822, allocations: 3.984 kB / 0.7068 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.964e-05/0.1822, allocations: 12 kB / 0.7068 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001944/0.1824, allocations: 140.7 kB / 0.7069 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.1825, allocations: 62.5 kB / 0.707 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.713e-05/0.1826, allocations: 36.78 kB / 0.707 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.492e-05/0.1826, allocations: 3.938 kB / 0.707 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.1826, allocations: 30.56 kB / 0.707 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.1826, allocations: 0 / 0.707 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.00117/0.1838, allocations: 454.7 kB / 0.7075 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.1839, allocations: 55.41 kB / 0.7075 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.732e-05/0.1839, allocations: 89.86 kB / 0.7076 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.184, allocations: 33.7 kB / 0.7076 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.184, allocations: 80.14 kB / 0.7077 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.693e-05/0.1841, allocations: 35.69 kB / 0.7077 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/0.1841, allocations: 29.7 kB / 0.7078 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1843, allocations: 323 kB / 0.7081 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.542e-05/0.1843, allocations: 19.98 kB / 0.7081 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.454e-05/0.1843, allocations: 31.92 kB / 0.7081 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.1845, allocations: 55.8 kB / 0.7082 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1845, allocations: 0 / 0.7082 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001545/0.1846, allocations: 93.64 kB / 0.7083 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1846, allocations: 8 kB / 0.7083 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1846, allocations: 0 / 0.7083 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1846, allocations: 0 / 0.7083 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.1848, allocations: 27.92 kB / 0.7083 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.1848, allocations: 4 kB / 0.7083 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.536e-05/0.1848, allocations: 4 kB / 0.7083 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.1848, allocations: 4 kB / 0.7083 GB, free: 11.9 MB / 0.5294 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 9.521e-05/0.1849, allocations: 117.8 kB / 0.7084 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/0.1849, allocations: 8 kB / 0.7084 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001994/0.1851, allocations: 109.6 kB / 0.7085 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1851, allocations: 4 kB / 0.7085 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1851, allocations: 0 / 0.7085 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1851, allocations: 4 kB / 0.7086 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004477/0.1856, allocations: 325.5 kB / 0.7089 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1856, allocations: 0 / 0.7089 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.1857, allocations: 23.92 kB / 0.7089 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1857, allocations: 0 / 0.7089 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.1857, allocations: 0 / 0.7089 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1857, allocations: 4.094 kB / 0.7089 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1857, allocations: 3.938 kB / 0.7089 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.186, allocations: 219.4 kB / 0.7091 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.869e-06/0.186, allocations: 4.031 kB / 0.7091 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.186, allocations: 4 kB / 0.7091 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.665e-05/0.1861, allocations: 4 kB / 0.7091 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.498e-05/0.1861, allocations: 7.922 kB / 0.7091 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.1861, allocations: 11.94 kB / 0.7091 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.117e-05/0.1862, allocations: 79.28 kB / 0.7092 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1862, allocations: 0 / 0.7092 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000285/0.1864, allocations: 44.02 kB / 0.7092 GB, free: 10.86 MB / 0.5294 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.0001995/0.1866, allocations: 127 kB / 0.7094 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001669/0.1868, allocations: 59.97 kB / 0.7094 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1868, allocations: 4 kB / 0.7094 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.803e-05/0.1869, allocations: 31.55 kB / 0.7095 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.1871, allocations: 7.984 kB / 0.7095 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006058/0.1877, allocations: 318.7 kB / 0.7098 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.188, allocations: 0.6883 MB / 0.7104 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.1881, allocations: 15.44 kB / 0.7105 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of SimCode: time 5.41e-07/0.1881, allocations: 3.938 kB / 0.7105 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of Templates: time 0.003339/0.1914, allocations: 1.131 MB / 0.7116 GB, free: 8.426 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.166450266027823] Failed to read output from testmodel.py, exit status != 0: 0.19919594516977668 0.21472828300000002 0.030384591000000002 Calling exit ...