Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.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.001946/0.001946, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.002313/0.002313, allocations: 170.3 kB / 22.45 MB, free: 2.105 MB / 18.57 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.659/1.659, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo): time 0.06169/0.06169, allocations: 8.689 MB / 267.9 MB, free: 4.758 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/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(OpenHydraulics.DevelopmentTests.CheckValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2") translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 395.4 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.628e-05, allocations: 2.281 kB / 395.4 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest2): time 0.006704/0.00673, allocations: 3.993 MB / 399.4 MB, free: 12.71 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004525/0.01126, allocations: 2.38 MB / 401.8 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002888/0.01154, allocations: 15.88 kB / 401.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005308/0.01208, allocations: 174.7 kB / 402 MB, free: 10.13 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00097/0.01305, allocations: 433.1 kB / 402.4 MB, free: 9.707 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.01421, allocations: 0.5015 MB / 402.9 MB, free: 9.207 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001604/0.01582, allocations: 1.088 MB / 404 MB, free: 8.113 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003719/0.01619, allocations: 184.1 kB / 404.2 MB, free: 7.93 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008402/0.01703, allocations: 0.5378 MB / 404.7 MB, free: 7.391 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005646/0.01759, allocations: 347 kB / 405.1 MB, free: 7.051 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.01772, allocations: 68 kB / 405.1 MB, free: 6.984 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005838/0.01831, allocations: 271.7 kB / 405.4 MB, free: 6.719 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000244/0.01855, allocations: 203.2 kB / 405.6 MB, free: 6.52 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003937/0.01894, allocations: 283.2 kB / 405.9 MB, free: 6.242 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001556/0.0205, allocations: 1.118 MB / 407 MB, free: 5.121 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.0205, allocations: 0 / 407 MB, free: 5.121 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.145e-06/0.02051, allocations: 0 / 407 MB, free: 5.121 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.02052, allocations: 0 / 407 MB, free: 5.121 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001833/0.02235, allocations: 1.002 MB / 408 MB, free: 4.086 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.02239, allocations: 8.031 kB / 408 MB, free: 4.078 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003057/0.02269, allocations: 104.4 kB / 408.1 MB, free: 3.977 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008395/0.02353, allocations: 480 kB / 408.6 MB, free: 3.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.198e-05/0.02359, allocations: 45.69 kB / 408.6 MB, free: 3.434 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.0237, allocations: 60.06 kB / 408.7 MB, free: 3.375 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.02482, allocations: 0.5821 MB / 409.3 MB, free: 2.781 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.02484, allocations: 0 / 409.3 MB, free: 2.781 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.466e-05/0.02489, allocations: 24 kB / 409.3 MB, free: 2.758 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.02491, allocations: 12 kB / 409.3 MB, free: 2.746 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.02602, allocations: 0.5283 MB / 409.8 MB, free: 2.219 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003497/0.02951, allocations: 1.597 MB / 411.4 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.03053, allocations: 436.5 kB / 411.9 MB, free: 140 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1488/0.1793, allocations: 179.9 kB / 412 MB, free: 29.01 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001527/0.1795, allocations: 14.84 kB / 412 MB, free: 29.01 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.1795, allocations: 37.25 kB / 412.1 MB, free: 28.97 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 2.274e-06/0.1795, allocations: 1.094 kB / 412.1 MB, free: 28.97 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.00252/0.182, allocations: 1.174 MB / 413.3 MB, free: 28.64 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.182, allocations: 56.78 kB / 413.3 MB, free: 28.58 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006456/0.1827, allocations: 0.5481 MB / 413.9 MB, free: 28.33 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.1827, allocations: 36.84 kB / 413.9 MB, free: 28.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.1829, allocations: 346.8 kB / 414.2 MB, free: 28.04 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.472e-05/0.183, allocations: 157.2 kB / 414.4 MB, free: 27.92 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.1831, allocations: 94.86 kB / 414.5 MB, free: 27.87 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.492e-05/0.1832, allocations: 367.3 kB / 414.8 MB, free: 27.53 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/0.1835, allocations: 157 kB / 415 MB, free: 27.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003173/0.1838, allocations: 254.5 kB / 415.2 MB, free: 27.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003012/0.1868, allocations: 0.9433 MB / 416.2 MB, free: 26.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.1868, allocations: 5.031 kB / 416.2 MB, free: 26.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009124/0.1877, allocations: 0.5278 MB / 416.7 MB, free: 26.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1878, allocations: 6.922 kB / 416.7 MB, free: 26.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.1878, allocations: 6.375 kB / 416.7 MB, free: 26.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.1878, allocations: 8.906 kB / 416.7 MB, free: 26.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004672/0.1883, allocations: 116.1 kB / 416.9 MB, free: 26.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.1883, allocations: 9.969 kB / 416.9 MB, free: 26.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.1885, allocations: 16.11 kB / 416.9 MB, free: 26.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-05/0.1886, allocations: 22.06 kB / 416.9 MB, free: 26.71 MB / 330.7 MB Warning: Assuming fixed start value for the following 1 variables: j1.volumeClosed.port[2].p:VARIABLE(flow=false min = 0.0 start = j1.p_init unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Pressure in the connection point\" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 2 (checkValve1.variableRestriction.data.zetaLaminarKnown,checkValve.variableRestriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.0003244/0.1889, allocations: 236.6 kB / 417.1 MB, free: 26.53 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.55e-05/0.189, allocations: 56.94 kB / 417.2 MB, free: 26.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000994/0.19, allocations: 0.5274 MB / 417.7 MB, free: 26.27 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.19, allocations: 5.469 kB / 417.7 MB, free: 26.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.19, allocations: 7.828 kB / 417.7 MB, free: 26.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.19, allocations: 3.344 kB / 417.7 MB, free: 26.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/0.1916, allocations: 1.047 MB / 418.8 MB, free: 25.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1916, allocations: 0 / 418.8 MB, free: 25.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000483/0.1921, allocations: 108 kB / 418.9 MB, free: 25.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.1921, allocations: 1.625 kB / 418.9 MB, free: 25.71 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.464e-05/0.1921, allocations: 12.62 kB / 418.9 MB, free: 25.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1921, allocations: 1.594 kB / 418.9 MB, free: 25.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.1921, allocations: 1.375 kB / 418.9 MB, free: 25.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.1933, allocations: 0.7786 MB / 419.7 MB, free: 25.3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000185/0.1935, allocations: 98.14 kB / 419.8 MB, free: 25.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.931e-05/0.1936, allocations: 14.08 kB / 419.8 MB, free: 25.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.1938, allocations: 13.06 kB / 419.8 MB, free: 25.24 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.66e-05/0.1939, allocations: 31.88 kB / 419.8 MB, free: 25.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.271e-05/0.1939, allocations: 16.45 kB / 419.8 MB, free: 25.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004456/0.1944, allocations: 395.8 kB / 420.2 MB, free: 25.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1944, allocations: 0 / 420.2 MB, free: 25.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006034/0.195, allocations: 185.7 kB / 420.4 MB, free: 25.02 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (circuitTank.volumeOpen.m,speed.phi,speed.w,j1.volumeClosed.port[2].p) * 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 (49): * Single equations (assignments): 49 * 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.002536/0.1975, allocations: 467.2 kB / 420.9 MB, free: 24.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008044/0.1983, allocations: 400.4 kB / 421.3 MB, free: 24.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1983, allocations: 0 / 421.3 MB, free: 24.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003345/0.1987, allocations: 202.9 kB / 421.5 MB, free: 24.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007218/0.1994, allocations: 152.6 kB / 421.6 MB, free: 24.6 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.2014, allocations: 1.309 MB / 422.9 MB, free: 23.87 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/0.2019, allocations: 343.1 kB / 423.3 MB, free: 23.75 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003905/0.2022, allocations: 112 kB / 423.4 MB, free: 23.72 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.2024, allocations: 57.66 kB / 423.4 MB, free: 23.71 MB / 330.7 MB Notification: Performance of SimCode: time 6.71e-07/0.2024, allocations: 3.938 kB / 423.4 MB, free: 23.71 MB / 330.7 MB Notification: Performance of Templates: time 0.01551/0.2179, allocations: 8.575 MB / 432 MB, free: 20.72 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.166591222863644]