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.0008835/0.0008835, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009667/0.0009667, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9629/0.9629, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.04087/0.04087, allocations: 8.722 MB / 269 MB, free: 4.402 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.182e-06/1.182e-06, allocations: 0 / 288.1 MB, free: 1.293 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.14e-05, allocations: 6.312 kB / 288.1 MB, free: 1.285 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest2): time 0.1064/0.1064, allocations: 4.359 MB / 292.4 MB, free: 17.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003169/0.1096, allocations: 2.527 MB / 295 MB, free: 16.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003376/0.1099, allocations: 16.56 kB / 295 MB, free: 16.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004539/0.1104, allocations: 171.3 kB / 295.2 MB, free: 16.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007699/0.1111, allocations: 421 kB / 295.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009687/0.1121, allocations: 497.6 kB / 296.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001019/0.1131, allocations: 1.083 MB / 297.1 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002906/0.1134, allocations: 180.4 kB / 297.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007601/0.1142, allocations: 0.5474 MB / 297.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004868/0.1146, allocations: 361.2 kB / 298.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.116e-05/0.1147, allocations: 70.22 kB / 298.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005594/0.1153, allocations: 304.3 kB / 298.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.1155, allocations: 192.4 kB / 298.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002409/0.1157, allocations: 288.6 kB / 299.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008755/0.1166, allocations: 0.8082 MB / 299.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1166, allocations: 0 / 299.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1166, allocations: 0 / 299.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.1166, allocations: 1.156 kB / 299.9 MB, free: 14.02 MB / 266.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.001031/0.1176, allocations: 0.9677 MB / 300.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.1176, allocations: 9.094 kB / 300.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002419/0.1179, allocations: 119.6 kB / 301 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000448/0.1183, allocations: 381 kB / 301.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.937e-05/0.1184, allocations: 40.41 kB / 301.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.189e-05/0.1184, allocations: 65.5 kB / 301.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004513/0.1189, allocations: 389.4 kB / 301.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.1189, allocations: 0 / 301.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.1189, allocations: 23.23 kB / 301.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.1189, allocations: 13.78 kB / 301.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002606/0.1192, allocations: 177 kB / 302 MB, free: 12.81 MB / 266.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.001474/0.1207, allocations: 1.089 MB / 303.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/0.121, allocations: 211.1 kB / 303.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.052e-05/0.1211, allocations: 69.5 kB / 303.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.63e-05/0.1212, allocations: 20.5 kB / 303.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.1212, allocations: 37.31 kB / 303.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 1.853e-06/0.1212, allocations: 0 / 303.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001005/0.1222, allocations: 0.6115 MB / 304 MB, free: 11.67 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.699e-05/0.1222, allocations: 60.34 kB / 304.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.1225, allocations: 449 kB / 304.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.1225, allocations: 40.42 kB / 304.6 MB, free: 11.28 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.21e-05/0.1226, allocations: 276.9 kB / 304.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.423e-05/0.1227, allocations: 149.5 kB / 305 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.808e-05/0.1228, allocations: 93.55 kB / 305.1 MB, free: 10.85 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.225e-05/0.1228, allocations: 372.2 kB / 305.5 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.426e-05/0.1229, allocations: 44.78 kB / 305.5 MB, free: 10.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.123, allocations: 145.3 kB / 305.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.1233, allocations: 299.2 kB / 305.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1233, allocations: 3.938 kB / 305.9 MB, free: 10.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0002877/0.1236, allocations: 256 kB / 306.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.1236, allocations: 5.438 kB / 306.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1236, allocations: 3.656 kB / 306.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1236, allocations: 5.281 kB / 306.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003578/0.124, allocations: 145.9 kB / 306.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.124, allocations: 5.75 kB / 306.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.1241, allocations: 17.62 kB / 306.4 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.1241, allocations: 22.92 kB / 306.4 MB, free: 9.992 MB / 266.7 MB Warning: Assuming fixed start value for the following 1 variables: j1.volumeClosed.port[2].p:VARIABLE(flow=false min = 0.0 start = idealPump.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 (checkValve.variableRestriction.data.zetaLaminarKnown,checkValve1.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.0001541/0.1243, allocations: 139.7 kB / 306.5 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.804e-05/0.1243, allocations: 46.39 kB / 306.6 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003464/0.1247, allocations: 302.9 kB / 306.9 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.1247, allocations: 10.39 kB / 306.9 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.1247, allocations: 7.938 kB / 306.9 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1247, allocations: 0 / 306.9 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006696/0.1254, allocations: 0.5858 MB / 307.5 MB, free: 9.188 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1254, allocations: 3.938 kB / 307.5 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002892/0.1257, allocations: 120.7 kB / 307.6 MB, free: 9.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1257, allocations: 4 kB / 307.6 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.1257, allocations: 23.92 kB / 307.6 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1257, allocations: 0 / 307.6 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1257, allocations: 0.75 kB / 307.6 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.126, allocations: 401.6 kB / 308 MB, free: 8.637 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.13e-05/0.1261, allocations: 59.61 kB / 308.1 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/0.1262, allocations: 19.92 kB / 308.1 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.1263, allocations: 12 kB / 308.1 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.1263, allocations: 32.38 kB / 308.1 MB, free: 8.512 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.1263, allocations: 11.98 kB / 308.1 MB, free: 8.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001321/0.1265, allocations: 211.2 kB / 308.4 MB, free: 8.293 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1265, allocations: 0 / 308.4 MB, free: 8.293 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003958/0.1269, allocations: 175.8 kB / 308.5 MB, free: 8.121 MB / 266.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.001068/0.1279, allocations: 0.5139 MB / 309 MB, free: 7.867 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002393/0.1282, allocations: 221.4 kB / 309.3 MB, free: 7.648 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.1282, allocations: 8.188 kB / 309.3 MB, free: 7.641 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.574e-05/0.1283, allocations: 120.7 kB / 309.4 MB, free: 7.523 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.1286, allocations: 159.5 kB / 309.5 MB, free: 7.383 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.13, allocations: 1.167 MB / 310.7 MB, free: 6.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.215e-05/0.1301, allocations: 157.9 kB / 310.9 MB, free: 6.004 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002058/0.1303, allocations: 91.31 kB / 310.9 MB, free: 5.918 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.1305, allocations: 193.2 kB / 311.1 MB, free: 5.73 MB / 266.7 MB Notification: Performance of SimCode: time 6.12e-07/0.1305, allocations: 0 / 311.1 MB, free: 5.73 MB / 266.7 MB Notification: Performance of Templates: time 0.01131/0.1418, allocations: 9.724 MB / 320.9 MB, free: 12.24 MB / 282.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.809811756014824]