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.0008944/0.0008944, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0008924/0.0008924, allocations: 173 kB / 23.5 MB, free: 1.055 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.9267/0.9267, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.03379/0.03379, allocations: 8.707 MB / 269 MB, free: 4.582 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 2.024e-06/2.024e-06, allocations: 0 / 340.9 MB, free: 9.469 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.839e-05/2.041e-05, allocations: 4.703 kB / 340.9 MB, free: 9.465 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.DirectionalValveTest): time 0.007243/0.007264, allocations: 6.065 MB / 346.9 MB, free: 3.363 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005757/0.01302, allocations: 3.583 MB / 350.5 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004917/0.01351, allocations: 23.81 kB / 350.5 MB, free: 15.74 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006812/0.01419, allocations: 301.7 kB / 350.8 MB, free: 15.45 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001402/0.0156, allocations: 0.6947 MB / 351.5 MB, free: 14.75 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.01743, allocations: 0.9155 MB / 352.4 MB, free: 13.83 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001987/0.01942, allocations: 1.98 MB / 354.4 MB, free: 11.84 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005553/0.01997, allocations: 308.5 kB / 354.7 MB, free: 11.52 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/0.02133, allocations: 0.9859 MB / 355.7 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000925/0.02226, allocations: 0.6389 MB / 356.3 MB, free: 9.891 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002081/0.02246, allocations: 128 kB / 356.5 MB, free: 9.766 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007025/0.02317, allocations: 403.6 kB / 356.9 MB, free: 9.371 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000325/0.02349, allocations: 366.6 kB / 357.2 MB, free: 9.012 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006111/0.0241, allocations: 0.5065 MB / 357.7 MB, free: 8.504 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.0259, allocations: 1.37 MB / 359.1 MB, free: 7.129 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.02591, allocations: 0 / 359.1 MB, free: 7.129 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.02591, allocations: 0 / 359.1 MB, free: 7.129 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.599e-05/0.02593, allocations: 4 kB / 359.1 MB, free: 7.125 MB / 330.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.001918/0.02785, allocations: 1.713 MB / 360.8 MB, free: 5.367 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.02789, allocations: 12.02 kB / 360.8 MB, free: 5.355 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003634/0.02825, allocations: 247.9 kB / 361.1 MB, free: 5.113 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008074/0.02906, allocations: 0.8082 MB / 361.9 MB, free: 4.281 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.472e-05/0.02911, allocations: 74.38 kB / 361.9 MB, free: 4.207 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-05/0.02921, allocations: 100.1 kB / 362 MB, free: 4.109 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009678/0.03018, allocations: 0.782 MB / 362.8 MB, free: 3.305 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.0302, allocations: 4 kB / 362.8 MB, free: 3.301 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.996e-05/0.03026, allocations: 40 kB / 362.9 MB, free: 3.262 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.03028, allocations: 20 kB / 362.9 MB, free: 3.242 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007386/0.03102, allocations: 479.6 kB / 363.4 MB, free: 2.773 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003082/0.0341, allocations: 2.696 MB / 366.1 MB, free: 28 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000602/0.0347, allocations: 420.3 kB / 366.5 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003188/0.03502, allocations: 205.5 kB / 366.7 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.926e-05/0.03512, allocations: 32.62 kB / 366.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.03515, allocations: 45.98 kB / 366.7 MB, free: 15.31 MB / 346.7 MB Notification: Performance of pre-optimization done (n=72): time 2.234e-06/0.03515, allocations: 0 / 366.7 MB, free: 15.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=76): time 0.002296/0.03745, allocations: 1.486 MB / 368.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.03748, allocations: 64 kB / 368.3 MB, free: 13.72 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007166/0.0382, allocations: 0.8389 MB / 369.1 MB, free: 12.85 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/0.03824, allocations: 41.7 kB / 369.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003221/0.03856, allocations: 0.624 MB / 369.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.0387, allocations: 269.7 kB / 370.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.03887, allocations: 180.2 kB / 370.2 MB, free: 11.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.03899, allocations: 0.5121 MB / 370.7 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/0.03926, allocations: 183.5 kB / 370.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000363/0.03962, allocations: 454.1 kB / 371.4 MB, free: 10.46 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008416/0.04046, allocations: 0.7381 MB / 372.1 MB, free: 9.617 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.04046, allocations: 0 / 372.1 MB, free: 9.617 MB / 346.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0008576/0.04132, allocations: 0.7001 MB / 372.8 MB, free: 8.914 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.04134, allocations: 8.062 kB / 372.8 MB, free: 8.906 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.04135, allocations: 8 kB / 372.8 MB, free: 8.898 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.04136, allocations: 8 kB / 372.8 MB, free: 8.891 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005049/0.04187, allocations: 227.6 kB / 373.1 MB, free: 8.668 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.04188, allocations: 15.98 kB / 373.1 MB, free: 8.652 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.04211, allocations: 27.94 kB / 373.1 MB, free: 8.625 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.606e-05/0.04216, allocations: 43.98 kB / 373.1 MB, free: 8.582 MB / 346.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.0002614/0.04242, allocations: 231.3 kB / 373.4 MB, free: 8.348 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.04255, allocations: 131.3 kB / 373.5 MB, free: 8.219 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008838/0.04343, allocations: 0.6684 MB / 374.2 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.04343, allocations: 15.98 kB / 374.2 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.04344, allocations: 0 / 374.2 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.04345, allocations: 7.922 kB / 374.2 MB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/0.04533, allocations: 1.692 MB / 375.9 MB, free: 5.746 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.04533, allocations: 4 kB / 375.9 MB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004295/0.04576, allocations: 183.8 kB / 376.1 MB, free: 5.562 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.04577, allocations: 8 kB / 376.1 MB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.82e-05/0.04581, allocations: 23.98 kB / 376.1 MB, free: 5.531 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-06/0.04581, allocations: 7.984 kB / 376.1 MB, free: 5.523 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.04582, allocations: 7.938 kB / 376.1 MB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.04695, allocations: 0.9586 MB / 377.1 MB, free: 4.504 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/0.04714, allocations: 183.2 kB / 377.2 MB, free: 4.324 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.038e-05/0.04722, allocations: 16 kB / 377.3 MB, free: 4.309 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.04743, allocations: 31.98 kB / 377.3 MB, free: 4.277 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.442e-05/0.04751, allocations: 56.55 kB / 377.3 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.542e-05/0.04755, allocations: 35.92 kB / 377.4 MB, free: 4.188 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004403/0.04799, allocations: 0.5195 MB / 377.9 MB, free: 3.656 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04799, allocations: 0 / 377.9 MB, free: 3.656 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005623/0.04855, allocations: 315.6 kB / 378.2 MB, free: 3.348 MB / 346.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.0008255/0.04937, allocations: 459 kB / 378.7 MB, free: 3.016 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006503/0.05002, allocations: 0.4886 MB / 379.1 MB, free: 2.523 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.05003, allocations: 0 / 379.1 MB, free: 2.523 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002964/0.05032, allocations: 273.7 kB / 379.4 MB, free: 2.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006737/0.051, allocations: 290.3 kB / 379.7 MB, free: 1.969 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.05362, allocations: 2.024 MB / 381.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.05379, allocations: 264.8 kB / 382 MB, free: 15.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003909/0.05418, allocations: 191.1 kB / 382.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.05437, allocations: 104.5 kB / 382.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of SimCode: time 8.41e-07/0.05437, allocations: 0 / 382.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of Templates: time 0.01796/0.07233, allocations: 16.02 MB / 398.3 MB, free: 15.56 MB / 378.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.0436107418499887]