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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001685/0.001686, allocations: 103.8 kB / 16.4 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 194.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 205.1 MB / 227.2 MB, free: 12.14 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05947/0.05947, allocations: 11.82 MB / 288.4 MB, free: 14.11 MB / 238.1 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003917/0.003917, allocations: 74.53 kB / 401 MB, free: 46.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1258, allocations: 49.23 MB / 450.3 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest2): time 0.006561/0.1324, allocations: 4.368 MB / 454.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004334/0.1368, allocations: 2.147 MB / 456.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004788/0.1373, allocations: 15.88 kB / 456.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006523/0.138, allocations: 174.8 kB / 457 MB, free: 10.22 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0009391/0.139, allocations: 349.7 kB / 457.3 MB, free: 9.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.1403, allocations: 450.5 kB / 457.8 MB, free: 9.438 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sinusoid.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of NFFlatten.flatten: time 0.001483/0.1418, allocations: 1.011 MB / 458.8 MB, free: 8.422 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005406/0.1423, allocations: 307.8 kB / 459.1 MB, free: 8.117 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006573/0.143, allocations: 362.6 kB / 459.4 MB, free: 7.762 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006439/0.1436, allocations: 410.3 kB / 459.8 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.1438, allocations: 68 kB / 459.9 MB, free: 7.293 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000691/0.1445, allocations: 271.8 kB / 460.2 MB, free: 7.027 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002125/0.1447, allocations: 187.3 kB / 460.3 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004567/0.1452, allocations: 414 kB / 460.7 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.1468, allocations: 1.051 MB / 461.8 MB, free: 5.383 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1468, allocations: 0 / 461.8 MB, free: 5.383 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1468, allocations: 0 / 461.8 MB, free: 5.383 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.1468, allocations: 0 / 461.8 MB, free: 5.383 MB / 334.1 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.001902/0.1487, allocations: 1.062 MB / 462.9 MB, free: 4.273 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.1488, allocations: 15.89 kB / 462.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/0.149, allocations: 92.42 kB / 463 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007945/0.1498, allocations: 0.5134 MB / 463.5 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.683e-05/0.1499, allocations: 49.25 kB / 463.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.15, allocations: 55.95 kB / 463.6 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.1511, allocations: 0.5609 MB / 464.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.1511, allocations: 0 / 464.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.583e-05/0.1512, allocations: 24 kB / 464.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.843e-05/0.1512, allocations: 16 kB / 464.2 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.1522, allocations: 0.5243 MB / 464.7 MB, free: 2.379 MB / 334.1 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.003977/0.1562, allocations: 2.832 MB / 467.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000822/0.1571, allocations: 443 kB / 468 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003627/0.1574, allocations: 200.5 kB / 468.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001422/0.1576, allocations: 101.1 kB / 468.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.1576, allocations: 46.28 kB / 468.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.104e-06/0.1577, allocations: 0 / 468.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002814/0.1605, allocations: 1.245 MB / 469.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.1605, allocations: 55.41 kB / 469.6 MB, free: 13.07 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sinusoid.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008983/0.1614, allocations: 0.6525 MB / 470.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/0.1615, allocations: 29.7 kB / 470.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002704/0.1618, allocations: 328.5 kB / 470.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.1619, allocations: 158.6 kB / 470.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.1621, allocations: 98.19 kB / 470.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002357/0.1623, allocations: 370.8 kB / 471.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003352/0.1627, allocations: 153 kB / 471.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004129/0.1631, allocations: 256.1 kB / 471.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003303/0.1664, allocations: 0.942 MB / 472.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1664, allocations: 0 / 472.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001112/0.1676, allocations: 0.5391 MB / 473.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.1676, allocations: 8 kB / 473.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.1676, allocations: 3.984 kB / 473.1 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.074e-05/0.1676, allocations: 8 kB / 473.1 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005041/0.1682, allocations: 116.2 kB / 473.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.071e-05/0.1682, allocations: 11.98 kB / 473.2 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/0.1685, allocations: 16 kB / 473.3 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.268e-05/0.1686, allocations: 19.98 kB / 473.3 MB, free: 9.27 MB / 350.1 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.0004697/0.1691, allocations: 237.6 kB / 473.5 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.1692, allocations: 67.58 kB / 473.6 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.1703, allocations: 0.5262 MB / 474.1 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.1704, allocations: 7.938 kB / 474.1 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1704, allocations: 0 / 474.1 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.1704, allocations: 0 / 474.1 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/0.1724, allocations: 1.229 MB / 475.3 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1725, allocations: 0 / 475.3 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004764/0.1729, allocations: 103.9 kB / 475.4 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/0.173, allocations: 11.92 kB / 475.5 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/0.173, allocations: 12 kB / 475.5 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.173, allocations: 0 / 475.5 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.173, allocations: 3.938 kB / 475.5 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/0.1744, allocations: 0.7883 MB / 476.3 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002699/0.1746, allocations: 192.6 kB / 476.4 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.949e-05/0.1747, allocations: 11.98 kB / 476.5 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.175, allocations: 12 kB / 476.5 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.425e-05/0.1751, allocations: 32.39 kB / 476.5 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.1751, allocations: 15.98 kB / 476.5 MB, free: 5.922 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006756/0.1758, allocations: 475 kB / 477 MB, free: 5.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1758, allocations: 0 / 477 MB, free: 5.465 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006412/0.1765, allocations: 179.8 kB / 477.2 MB, free: 5.289 MB / 350.1 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.001511/0.178, allocations: 430.3 kB / 477.6 MB, free: 4.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008863/0.1789, allocations: 418.2 kB / 478 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1789, allocations: 0 / 478 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003846/0.1793, allocations: 211.1 kB / 478.2 MB, free: 4.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009327/0.1802, allocations: 210.6 kB / 478.4 MB, free: 4.164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002447/0.1827, allocations: 1.434 MB / 479.8 MB, free: 2.699 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006581/0.1834, allocations: 0.9293 MB / 480.8 MB, free: 1.742 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004227/0.1838, allocations: 133.1 kB / 480.9 MB, free: 1.613 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.184, allocations: 59.41 kB / 480.9 MB, free: 1.555 MB / 350.1 MB Notification: Performance of SimCode: time 4.3e-07/0.184, allocations: 4 kB / 480.9 MB, free: 1.551 MB / 350.1 MB Notification: Performance of Templates: time 0.02098/0.205, allocations: 10.47 MB / 491.4 MB, free: 7.094 MB / 366.1 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=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4164607878774405]