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.00185/0.00185, allocations: 85.48 kB / 19.44 MB, free: 336 kB / 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.002069/0.002069, allocations: 173.2 kB / 22.76 MB, free: 1.656 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.55/1.55, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.06431/0.06431, allocations: 8.699 MB / 268.3 MB, free: 4.559 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.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.553e-06/1.553e-06, allocations: 0 / 340.1 MB, free: 8.383 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.581e-05, allocations: 8.203 kB / 340.1 MB, free: 8.379 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.DirectionalValveTest): time 0.005262/0.005288, allocations: 6.015 MB / 346.1 MB, free: 2.328 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005541/0.01083, allocations: 3.585 MB / 349.7 MB, free: 14.73 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007433/0.01157, allocations: 23.88 kB / 349.8 MB, free: 14.71 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000776/0.01235, allocations: 281.9 kB / 350 MB, free: 14.43 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001721/0.01407, allocations: 0.7103 MB / 350.7 MB, free: 13.72 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002293/0.01636, allocations: 0.9154 MB / 351.7 MB, free: 12.8 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002719/0.01908, allocations: 1.976 MB / 353.6 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006689/0.01975, allocations: 312.4 kB / 353.9 MB, free: 10.49 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/0.02138, allocations: 0.9782 MB / 354.9 MB, free: 9.508 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.02252, allocations: 0.6506 MB / 355.6 MB, free: 8.855 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002291/0.02275, allocations: 124 kB / 355.7 MB, free: 8.734 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009031/0.02365, allocations: 407.6 kB / 356.1 MB, free: 8.336 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004291/0.02408, allocations: 358.6 kB / 356.4 MB, free: 7.984 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008399/0.02492, allocations: 0.5064 MB / 356.9 MB, free: 7.477 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00294/0.02786, allocations: 2.068 MB / 359 MB, free: 5.402 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.02786, allocations: 0 / 359 MB, free: 5.402 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.02787, allocations: 0 / 359 MB, free: 5.402 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.33e-05/0.02789, allocations: 0 / 359 MB, free: 5.402 MB / 282.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.003661/0.03155, allocations: 1.865 MB / 360.9 MB, free: 3.496 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.03158, allocations: 8.031 kB / 360.9 MB, free: 3.488 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005976/0.03218, allocations: 251.9 kB / 361.1 MB, free: 3.242 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.0337, allocations: 0.82 MB / 361.9 MB, free: 2.391 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.992e-05/0.03379, allocations: 78.38 kB / 362 MB, free: 2.316 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.03396, allocations: 96.12 kB / 362.1 MB, free: 2.223 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/0.03605, allocations: 1.117 MB / 363.2 MB, free: 1.082 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.306e-05/0.03608, allocations: 4 kB / 363.2 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.241e-05/0.03617, allocations: 43.94 kB / 363.3 MB, free: 1.035 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.517e-05/0.0362, allocations: 24 kB / 363.3 MB, free: 1.012 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/0.03796, allocations: 0.8159 MB / 364.1 MB, free: 204 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00749/0.04545, allocations: 3.854 MB / 368 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.04681, allocations: 0.7064 MB / 368.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007682/0.04758, allocations: 353.5 kB / 369 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001772/0.04776, allocations: 32.62 kB / 369.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.04781, allocations: 46.05 kB / 369.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 2.685e-06/0.04781, allocations: 0 / 369.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=76): time 0.005051/0.05286, allocations: 2.122 MB / 371.2 MB, free: 8.945 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.05292, allocations: 60.06 kB / 371.3 MB, free: 8.871 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/0.0546, allocations: 1.155 MB / 372.4 MB, free: 7.688 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.593e-05/0.05467, allocations: 37.7 kB / 372.5 MB, free: 7.645 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006808/0.05535, allocations: 0.6905 MB / 373.2 MB, free: 6.945 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003262/0.05568, allocations: 301.7 kB / 373.5 MB, free: 6.648 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003664/0.05604, allocations: 216.2 kB / 373.7 MB, free: 6.426 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003443/0.05639, allocations: 0.5395 MB / 374.2 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007107/0.0571, allocations: 367.5 kB / 374.6 MB, free: 5.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.05827, allocations: 0.6276 MB / 375.2 MB, free: 4.777 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002178/0.06045, allocations: 1.199 MB / 376.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.06045, allocations: 0 / 376.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002024/0.06248, allocations: 1.008 MB / 377.4 MB, free: 2.461 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.0625, allocations: 8 kB / 377.4 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.06251, allocations: 4 kB / 377.4 MB, free: 2.449 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.925e-05/0.06254, allocations: 12 kB / 377.4 MB, free: 2.438 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.06355, allocations: 228.4 kB / 377.7 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/0.06357, allocations: 8 kB / 377.7 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005072/0.06408, allocations: 35.86 kB / 377.7 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.8e-05/0.06417, allocations: 43.98 kB / 377.7 MB, free: 2.129 MB / 298.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.0006416/0.06481, allocations: 373.9 kB / 378.1 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/0.06505, allocations: 135.3 kB / 378.2 MB, free: 1.625 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001999/0.06705, allocations: 0.9027 MB / 379.1 MB, free: 0.707 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.06706, allocations: 8 kB / 379.1 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.06707, allocations: 0 / 379.1 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/0.06708, allocations: 7.922 kB / 379.2 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004412/0.07149, allocations: 2.322 MB / 381.5 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.0715, allocations: 4 kB / 381.5 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009058/0.07241, allocations: 183.8 kB / 381.7 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.198e-06/0.07242, allocations: 4 kB / 381.7 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.506e-05/0.07248, allocations: 27.98 kB / 381.7 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.658e-06/0.07249, allocations: 8.156 kB / 381.7 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.0725, allocations: 11.98 kB / 381.7 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002708/0.07521, allocations: 1.419 MB / 383.1 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004461/0.07565, allocations: 183.1 kB / 383.3 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.07579, allocations: 20 kB / 383.3 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004096/0.0762, allocations: 23.98 kB / 383.3 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.07634, allocations: 52.55 kB / 383.4 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-05/0.07641, allocations: 39.92 kB / 383.4 MB, free: 12.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001024/0.07743, allocations: 0.6796 MB / 384.1 MB, free: 11.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.07743, allocations: 4 kB / 384.1 MB, free: 11.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001013/0.07845, allocations: 307.7 kB / 384.4 MB, free: 11.27 MB / 314.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.002794/0.08124, allocations: 0.5044 MB / 384.9 MB, free: 10.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.0829, allocations: 0.7893 MB / 385.7 MB, free: 10.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.0829, allocations: 448 / 385.7 MB, free: 10.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007497/0.08365, allocations: 417.1 kB / 386.1 MB, free: 9.707 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.08494, allocations: 300.9 kB / 386.4 MB, free: 9.422 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003987/0.08892, allocations: 2.222 MB / 388.6 MB, free: 7.129 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009292/0.08985, allocations: 0.5656 MB / 389.2 MB, free: 6.531 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006735/0.09053, allocations: 191.1 kB / 389.4 MB, free: 6.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003132/0.09084, allocations: 108.4 kB / 389.5 MB, free: 6.234 MB / 314.7 MB Notification: Performance of SimCode: time 1.092e-06/0.09084, allocations: 0 / 389.5 MB, free: 6.234 MB / 314.7 MB Notification: Performance of Templates: time 0.03133/0.1222, allocations: 16 MB / 405.5 MB, free: 6.512 MB / 330.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: 5.292048247065395]