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.001419/0.001419, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001988/0.001988, allocations: 214.3 kB / 22.25 MB, free: 5.242 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.574/1.574, allocations: 230.6 MB / 256 MB, free: 7.785 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.8918/0.8918, allocations: 134 MB / 446.4 MB, free: 9.902 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.00208/0.00208, allocations: 72.59 kB / 0.619 GB, free: 6.379 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1802, allocations: 85.91 MB / 0.7029 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002761/0.183, allocations: 1.298 MB / 0.7041 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.1841, allocations: 0.5449 MB / 0.7047 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.746e-05/0.1841, allocations: 0 / 0.7047 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.271e-05/0.1842, allocations: 0 / 0.7047 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.151e-05/0.1842, allocations: 7.875 kB / 0.7047 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005876/0.1848, allocations: 159.4 kB / 0.7048 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.45e-05/0.1849, allocations: 27.92 kB / 0.7048 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.46e-05/0.1849, allocations: 4 kB / 0.7048 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.923e-05/0.1849, allocations: 7.938 kB / 0.7049 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.034e-05/0.185, allocations: 23.91 kB / 0.7049 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.185, allocations: 0 / 0.7049 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004598/0.1855, allocations: 267.5 kB / 0.7051 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.1855, allocations: 7.984 kB / 0.7051 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.509e-05/0.1855, allocations: 11.94 kB / 0.7052 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.1858, allocations: 143.5 kB / 0.7053 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1858, allocations: 4 kB / 0.7053 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.452e-06/0.1858, allocations: 3.938 kB / 0.7053 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.1858, allocations: 7.938 kB / 0.7053 GB, free: 14.03 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.0004692/0.1863, allocations: 294 kB / 0.7056 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1863, allocations: 12.56 kB / 0.7056 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.001e-05/0.1864, allocations: 4.938 kB / 0.7056 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.1865, allocations: 110.4 kB / 0.7057 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.1865, allocations: 8.375 kB / 0.7057 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.1866, allocations: 384 / 0.7057 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.1867, allocations: 109 kB / 0.7058 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1867, allocations: 0 / 0.7058 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1868, allocations: 4 kB / 0.7058 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-06/0.1868, allocations: 4 kB / 0.7058 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.567e-05/0.1868, allocations: 19.92 kB / 0.7058 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/0.187, allocations: 105.3 kB / 0.7059 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.1871, allocations: 54.56 kB / 0.706 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.725e-05/0.1872, allocations: 28.84 kB / 0.706 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.1872, allocations: 4 kB / 0.706 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.1872, allocations: 38.5 kB / 0.7061 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.1872, allocations: 0 / 0.7061 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001104/0.1883, allocations: 453.6 kB / 0.7065 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.1884, allocations: 63.34 kB / 0.7066 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.742e-05/0.1885, allocations: 97.84 kB / 0.7067 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.1885, allocations: 25.7 kB / 0.7067 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.324e-05/0.1885, allocations: 84.14 kB / 0.7068 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/0.1886, allocations: 35.69 kB / 0.7068 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.1886, allocations: 25.72 kB / 0.7068 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1888, allocations: 318.8 kB / 0.7071 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.334e-05/0.1888, allocations: 20 kB / 0.7071 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.43e-05/0.1889, allocations: 31.48 kB / 0.7072 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.55e-05/0.189, allocations: 52.86 kB / 0.7072 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.189, allocations: 0 / 0.7072 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001689/0.1891, allocations: 109.5 kB / 0.7073 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1891, allocations: 4 kB / 0.7073 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.1891, allocations: 0 / 0.7073 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1892, allocations: 0 / 0.7073 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.1893, allocations: 23.98 kB / 0.7074 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.1893, allocations: 4.078 kB / 0.7074 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.541e-05/0.1893, allocations: 3.938 kB / 0.7074 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.1893, allocations: 4 kB / 0.7074 GB, free: 11.69 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.076e-05/0.1894, allocations: 125.8 kB / 0.7075 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.1894, allocations: 0 / 0.7075 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.1896, allocations: 113.5 kB / 0.7076 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1896, allocations: 0 / 0.7076 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.1896, allocations: 0 / 0.7076 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1896, allocations: 0 / 0.7076 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004231/0.1901, allocations: 303.5 kB / 0.7079 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1901, allocations: 4 kB / 0.7079 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.1902, allocations: 19.98 kB / 0.7079 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1902, allocations: 0 / 0.7079 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.1902, allocations: 8 kB / 0.7079 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1902, allocations: 0 / 0.7079 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1902, allocations: 0 / 0.7079 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.1905, allocations: 219.4 kB / 0.7081 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-06/0.1905, allocations: 3.938 kB / 0.7081 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.1905, allocations: 8.031 kB / 0.7081 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.403e-05/0.1906, allocations: 3.938 kB / 0.7081 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.153e-05/0.1906, allocations: 7.984 kB / 0.7081 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.1906, allocations: 8 kB / 0.7082 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.917e-05/0.1906, allocations: 75.28 kB / 0.7082 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1906, allocations: 4.156 kB / 0.7082 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002696/0.1909, allocations: 39.86 kB / 0.7083 GB, free: 10.7 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.0002119/0.1911, allocations: 127.1 kB / 0.7084 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001603/0.1913, allocations: 70.8 kB / 0.7085 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1913, allocations: 0 / 0.7085 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.131e-05/0.1913, allocations: 31.98 kB / 0.7085 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.1916, allocations: 4.75 kB / 0.7085 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005484/0.1921, allocations: 289 kB / 0.7088 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.921e-05/0.1922, allocations: 75.14 kB / 0.7088 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.568e-05/0.1922, allocations: 8 kB / 0.7088 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.1923, allocations: 15.42 kB / 0.7089 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.1923, allocations: 0 / 0.7089 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of Templates: time 0.003702/0.196, allocations: 0.9506 MB / 0.7098 GB, free: 9.133 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 sys.exit(0), Time elapsed: 5.742136685177684] Failed to read output from testmodel.py, exit status != 0: 0.20370225608348846 0.21950690599999995 0.030401412000000003 Calling exit ...