Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.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.0006928/0.0006928, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009686/0.001661, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006939/0.0006939, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001429/0.002123, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9394/0.9394, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08783/1.027, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/package.mo): time 0.03743/0.03743, allocations: 8.722 MB / 252.9 MB, free: 6.297 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005542/0.04297, allocations: 3.009 MB / 255.9 MB, free: 3.281 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-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.DirectionalValveTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest") translateModel(OpenHydraulics.DevelopmentTests.DirectionalValveTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 257.2 MB, free: 1.961 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.322e-05/2.47e-05, allocations: 2.312 kB / 257.2 MB, free: 1.957 MB / 250.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.DirectionalValveTest): time 0.005221/0.005246, allocations: 6.058 MB / 263.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005078/0.01032, allocations: 3.687 MB / 266.9 MB, free: 8.168 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006544/0.01098, allocations: 23.81 kB / 267 MB, free: 8.145 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005448/0.01152, allocations: 297.8 kB / 267.3 MB, free: 7.852 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001264/0.01279, allocations: 0.7064 MB / 268 MB, free: 7.141 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.01428, allocations: 0.8802 MB / 268.8 MB, free: 6.258 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001609/0.01589, allocations: 1.98 MB / 270.8 MB, free: 4.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003904/0.01628, allocations: 316.5 kB / 271.1 MB, free: 3.934 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.01752, allocations: 1.151 MB / 272.3 MB, free: 2.758 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006744/0.01819, allocations: 0.635 MB / 272.9 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.01834, allocations: 124 kB / 273 MB, free: 2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007151/0.01905, allocations: 439.4 kB / 273.5 MB, free: 1.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002155/0.01927, allocations: 295.1 kB / 273.8 MB, free: 1.281 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003752/0.01965, allocations: 419.2 kB / 274.2 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.124/0.1436, allocations: 1.259 MB / 275.4 MB, free: 5.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.527e-05/0.1436, allocations: 0 / 275.4 MB, free: 5.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1436, allocations: 3.219 kB / 275.4 MB, free: 5.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.08e-05/0.1437, allocations: 0 / 275.4 MB, free: 5.73 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.00241/0.1461, allocations: 1.842 MB / 277.3 MB, free: 4.953 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.1461, allocations: 10.02 kB / 277.3 MB, free: 4.953 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004302/0.1466, allocations: 270.8 kB / 277.5 MB, free: 4.855 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007497/0.1473, allocations: 0.6026 MB / 278.1 MB, free: 4.559 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.272e-05/0.1474, allocations: 79.97 kB / 278.2 MB, free: 4.559 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.1475, allocations: 93.94 kB / 278.3 MB, free: 4.559 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008975/0.1484, allocations: 0.7393 MB / 279.1 MB, free: 4.426 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.1484, allocations: 1.125 kB / 279.1 MB, free: 4.426 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.704e-05/0.1485, allocations: 39.36 kB / 279.1 MB, free: 4.426 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.1485, allocations: 24.84 kB / 279.1 MB, free: 4.426 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005171/0.149, allocations: 358.9 kB / 279.5 MB, free: 4.402 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002776/0.1518, allocations: 2.048 MB / 281.5 MB, free: 3.941 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004429/0.1522, allocations: 331.8 kB / 281.8 MB, free: 3.914 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.1524, allocations: 163.6 kB / 282 MB, free: 3.902 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.1525, allocations: 35.73 kB / 282 MB, free: 3.902 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.1526, allocations: 40.09 kB / 282.1 MB, free: 3.859 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.264e-06/0.1526, allocations: 2.312 kB / 282.1 MB, free: 3.859 MB / 266.7 MB Notification: Performance of matching and sorting (n=76): time 0.004678/0.1572, allocations: 2.205 MB / 284.3 MB, free: 3.586 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.008e-05/0.1573, allocations: 61.28 kB / 284.3 MB, free: 3.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005682/0.1578, allocations: 0.7503 MB / 285.1 MB, free: 3.344 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.1579, allocations: 42.42 kB / 285.1 MB, free: 3.312 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.158, allocations: 446.3 kB / 285.6 MB, free: 3.059 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.1582, allocations: 278.1 kB / 285.8 MB, free: 2.883 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.1583, allocations: 160.1 kB / 286 MB, free: 2.863 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.062e-05/0.1584, allocations: 345.5 kB / 286.3 MB, free: 2.555 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.1585, allocations: 133.5 kB / 286.5 MB, free: 2.539 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.1587, allocations: 343.3 kB / 286.8 MB, free: 2.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005444/0.1593, allocations: 0.5896 MB / 287.4 MB, free: 2.047 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.1593, allocations: 1.438 kB / 287.4 MB, free: 2.047 MB / 266.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.000596/0.1599, allocations: 479.3 kB / 287.9 MB, free: 1.996 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.1599, allocations: 8 kB / 287.9 MB, free: 1.996 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.1599, allocations: 5.312 kB / 287.9 MB, free: 1.996 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.1599, allocations: 10.19 kB / 287.9 MB, free: 1.996 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000635/0.1606, allocations: 281.6 kB / 288.2 MB, free: 1.992 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.1606, allocations: 10.39 kB / 288.2 MB, free: 1.992 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000259/0.1608, allocations: 31 kB / 288.2 MB, free: 1.988 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.01e-05/0.1609, allocations: 30.56 kB / 288.2 MB, free: 1.988 MB / 266.7 MB Warning: Assuming fixed start value for the following 3 variables: idealPump.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of rotation of pump\" type: Real valve4_3pos.j2.volumeClosed.port[2].p:VARIABLE(flow=false min = 0.0 start = valve4_3pos.P2A.p_init unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Pressure in the connection point\" type: Real [3] valve4_3pos.j3.volumeClosed.port[2].p:VARIABLE(flow=false min = 0.0 start = valve4_3pos.P2B.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: 24 * Number of states: 0 () * Number of discrete variables: 5 (valve4_3pos.A2T.data.zetaLaminarKnown,valve4_3pos.P2B.data.zetaLaminarKnown,valve4_3pos.B2T.data.zetaLaminarKnown,valve4_3pos.P2A.data.zetaLaminarKnown,restriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.0002453/0.1611, allocations: 195.7 kB / 288.4 MB, free: 1.855 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.963e-05/0.1612, allocations: 81.52 kB / 288.5 MB, free: 1.855 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005797/0.1618, allocations: 0.5007 MB / 289 MB, free: 1.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.1618, allocations: 9.125 kB / 289 MB, free: 1.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.1618, allocations: 0 / 289 MB, free: 1.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.1618, allocations: 3.75 kB / 289 MB, free: 1.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.1631, allocations: 1.127 MB / 290.1 MB, free: 1.438 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.1631, allocations: 3.938 kB / 290.1 MB, free: 1.438 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004696/0.1635, allocations: 229.6 kB / 290.4 MB, free: 1.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.1637, allocations: 116.2 kB / 290.5 MB, free: 1.371 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.1637, allocations: 5.219 kB / 290.5 MB, free: 1.371 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.128e-05/0.1637, allocations: 26 kB / 290.5 MB, free: 1.371 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.1638, allocations: 9.141 kB / 290.5 MB, free: 1.371 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1638, allocations: 3.312 kB / 290.5 MB, free: 1.371 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005482/0.1643, allocations: 0.6739 MB / 291.2 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.017e-05/0.1644, allocations: 19.38 kB / 291.2 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.1646, allocations: 25.64 kB / 291.2 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/0.1646, allocations: 56.44 kB / 291.3 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.1646, allocations: 20.48 kB / 291.3 MB, free: 1.141 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002554/0.1649, allocations: 367 kB / 291.7 MB, free: 1.094 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1649, allocations: 0 / 291.7 MB, free: 1.094 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006095/0.1655, allocations: 310.2 kB / 292 MB, free: 1.074 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (idealPump.phi,circuitTank.volumeOpen.m,valve4_3pos.j2.volumeClosed.port[2].p,valve4_3pos.j3.volumeClosed.port[2].p,valve4_3pos.dynamicResponse.y,valve4_3pos.dynamicResponse.yd) * 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 (86): * Single equations (assignments): 86 * 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.001188/0.1667, allocations: 0.6012 MB / 292.6 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004283/0.1671, allocations: 413.8 kB / 293 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.991e-05/0.1671, allocations: 19.03 kB / 293 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.1674, allocations: 264.1 kB / 293.3 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.1685, allocations: 2.212 MB / 295.5 MB, free: 14.72 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/0.1822, allocations: 2.031 MB / 297.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.1824, allocations: 250.4 kB / 297.7 MB, free: 13 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006494/0.1831, allocations: 180.3 kB / 297.9 MB, free: 12.84 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004807/0.1836, allocations: 307.9 kB / 298.2 MB, free: 12.56 MB / 282.7 MB Notification: Performance of SimCode: time 1.793e-06/0.1836, allocations: 0 / 298.2 MB, free: 12.56 MB / 282.7 MB Notification: Performance of Templates: time 0.02165/0.2052, allocations: 18.58 MB / 316.8 MB, free: 10.73 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1510619316250086]