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.0009204/0.0009204, allocations: 80.94 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.0009032/0.0009032, allocations: 177 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.9316/0.9316, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.03592/0.03592, allocations: 8.726 MB / 269 MB, free: 4.418 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.503e-06/1.503e-06, allocations: 0 / 288 MB, free: 1.367 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.925e-05/2.075e-05, allocations: 2.312 kB / 288 MB, free: 1.363 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest2): time 0.1055/0.1056, allocations: 4.326 MB / 292.4 MB, free: 17.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00328/0.1088, allocations: 2.521 MB / 294.9 MB, free: 16.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003439/0.1092, allocations: 16.5 kB / 294.9 MB, free: 16.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004617/0.1096, allocations: 178.1 kB / 295.1 MB, free: 16.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007839/0.1104, allocations: 421.5 kB / 295.5 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.1114, allocations: 0.5018 MB / 296 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009897/0.1124, allocations: 1.09 MB / 297.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.1127, allocations: 186.5 kB / 297.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007438/0.1135, allocations: 0.5382 MB / 297.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005072/0.114, allocations: 368.5 kB / 298.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.1141, allocations: 65.25 kB / 298.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005145/0.1146, allocations: 279.5 kB / 298.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.1147, allocations: 191.6 kB / 298.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00028/0.115, allocations: 288.9 kB / 299 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009316/0.1159, allocations: 0.8081 MB / 299.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1159, allocations: 0.75 kB / 299.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1159, allocations: 0 / 299.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.142e-05/0.116, allocations: 1.969 kB / 299.8 MB, free: 14.09 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.001174/0.1171, allocations: 0.9716 MB / 300.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.1172, allocations: 10.66 kB / 300.8 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002561/0.1174, allocations: 114.1 kB / 300.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004531/0.1179, allocations: 374.5 kB / 301.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.664e-05/0.1179, allocations: 45 kB / 301.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.32e-05/0.118, allocations: 66.14 kB / 301.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004455/0.1184, allocations: 390.7 kB / 301.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.1184, allocations: 1.594 kB / 301.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.1185, allocations: 23.09 kB / 301.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.1185, allocations: 13.5 kB / 301.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002454/0.1187, allocations: 176.2 kB / 301.9 MB, free: 12.89 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.001467/0.1202, allocations: 1.085 MB / 303 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003529/0.1206, allocations: 210.6 kB / 303.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.102e-05/0.1206, allocations: 72.64 kB / 303.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.409e-05/0.1207, allocations: 16.89 kB / 303.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.1207, allocations: 44 kB / 303.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 3.026e-06/0.1207, allocations: 2.219 kB / 303.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.0009681/0.1217, allocations: 0.6003 MB / 304 MB, free: 11.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/0.1217, allocations: 68.22 kB / 304 MB, free: 11.69 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002836/0.122, allocations: 449.2 kB / 304.5 MB, free: 11.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.122, allocations: 31.05 kB / 304.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.771e-05/0.1221, allocations: 286 kB / 304.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.691e-05/0.1222, allocations: 152.1 kB / 304.9 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.28e-05/0.1223, allocations: 94.17 kB / 305 MB, free: 10.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.934e-05/0.1223, allocations: 367.6 kB / 305.4 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.512e-05/0.1224, allocations: 45.62 kB / 305.4 MB, free: 10.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.1225, allocations: 152.4 kB / 305.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.1228, allocations: 308.1 kB / 305.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1228, allocations: 0 / 305.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0002901/0.1231, allocations: 257.2 kB / 306.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1231, allocations: 5.812 kB / 306.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1231, allocations: 3.562 kB / 306.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.1231, allocations: 5.188 kB / 306.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.1234, allocations: 111.4 kB / 306.2 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1234, allocations: 12.81 kB / 306.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.1235, allocations: 18.73 kB / 306.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.1235, allocations: 14 kB / 306.3 MB, free: 10.09 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.0001526/0.1237, allocations: 154.3 kB / 306.4 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.988e-05/0.1237, allocations: 48.14 kB / 306.5 MB, free: 9.918 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003284/0.124, allocations: 297.4 kB / 306.8 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1241, allocations: 4.875 kB / 306.8 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.1241, allocations: 3.938 kB / 306.8 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1241, allocations: 3.984 kB / 306.8 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006412/0.1247, allocations: 0.5885 MB / 307.4 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1247, allocations: 0 / 307.4 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.1249, allocations: 104.5 kB / 307.5 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1249, allocations: 5.078 kB / 307.5 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.125, allocations: 11.98 kB / 307.5 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.125, allocations: 3.938 kB / 307.5 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.125, allocations: 0 / 307.5 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.1253, allocations: 411.1 kB / 307.9 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.099e-05/0.1254, allocations: 59.61 kB / 308 MB, free: 8.746 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.184e-05/0.1254, allocations: 15.98 kB / 308 MB, free: 8.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1255, allocations: 15.94 kB / 308 MB, free: 8.715 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.1256, allocations: 32.44 kB / 308 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.1256, allocations: 11.98 kB / 308 MB, free: 8.668 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001381/0.1257, allocations: 207.2 kB / 308.2 MB, free: 8.465 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1257, allocations: 0 / 308.2 MB, free: 8.465 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000383/0.1261, allocations: 183.8 kB / 308.4 MB, free: 8.285 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.0009736/0.1271, allocations: 0.5191 MB / 308.9 MB, free: 8.027 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002389/0.1273, allocations: 217.5 kB / 309.1 MB, free: 7.812 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.1273, allocations: 4 kB / 309.1 MB, free: 7.809 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.262e-05/0.1274, allocations: 124.6 kB / 309.3 MB, free: 7.688 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.1278, allocations: 152.6 kB / 309.4 MB, free: 7.551 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.1291, allocations: 1.166 MB / 310.6 MB, free: 6.352 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.253e-05/0.1292, allocations: 153.9 kB / 310.7 MB, free: 6.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001956/0.1294, allocations: 90.75 kB / 310.8 MB, free: 6.094 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002339/0.1296, allocations: 189.2 kB / 311 MB, free: 5.91 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1296, allocations: 0 / 311 MB, free: 5.91 MB / 266.7 MB Notification: Performance of Templates: time 0.01155/0.1412, allocations: 9.563 MB / 320.6 MB, free: 12.57 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 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7137822918593884]