Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple.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.0009642/0.0009642, 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.001011/0.001011, 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.9495/0.9495, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.03458/0.03458, allocations: 8.715 MB / 269 MB, free: 4.602 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.DirectionalValveTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple") translateModel(OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 340.9 MB, free: 8.398 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.629e-05, allocations: 2.312 kB / 340.9 MB, free: 8.395 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple): time 0.006378/0.006404, allocations: 9.281 MB / 350.2 MB, free: 15.07 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006931/0.01334, allocations: 4.838 MB / 355 MB, free: 10.21 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/0.01462, allocations: 43.69 kB / 355 MB, free: 10.17 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.01571, allocations: 0.6094 MB / 355.6 MB, free: 9.559 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002296/0.01801, allocations: 1.293 MB / 356.9 MB, free: 8.258 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002452/0.02046, allocations: 1.575 MB / 358.5 MB, free: 6.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003511/0.02397, allocations: 3.58 MB / 362.1 MB, free: 3.086 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008795/0.02485, allocations: 479 kB / 362.6 MB, free: 2.586 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002442/0.02729, allocations: 1.769 MB / 364.3 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00128/0.02857, allocations: 1.122 MB / 365.5 MB, free: 15.69 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003073/0.02888, allocations: 248 kB / 365.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007403/0.02962, allocations: 479.6 kB / 366.2 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000454/0.03007, allocations: 0.6733 MB / 366.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009497/0.03102, allocations: 0.8961 MB / 367.7 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002534/0.03356, allocations: 2.227 MB / 370 MB, free: 11.17 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.03356, allocations: 0 / 370 MB, free: 11.17 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.959e-06/0.03357, allocations: 0 / 370 MB, free: 11.17 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.345e-05/0.0336, allocations: 0 / 370 MB, free: 11.17 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.003219/0.03682, allocations: 3.058 MB / 373 MB, free: 8.004 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.03686, allocations: 8.031 kB / 373 MB, free: 7.996 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008791/0.03774, allocations: 427.1 kB / 373.4 MB, free: 7.578 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/0.03937, allocations: 1.488 MB / 374.9 MB, free: 6.051 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/0.03957, allocations: 349 kB / 375.3 MB, free: 5.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/0.03975, allocations: 167.9 kB / 375.4 MB, free: 5.496 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.04139, allocations: 1.234 MB / 376.7 MB, free: 4.191 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.585e-05/0.04142, allocations: 8 kB / 376.7 MB, free: 4.184 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.04153, allocations: 60 kB / 376.7 MB, free: 4.125 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-05/0.04155, allocations: 40 kB / 376.8 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.04292, allocations: 0.9105 MB / 377.7 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006468/0.04939, allocations: 4.447 MB / 382.1 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.05097, allocations: 1.103 MB / 383.2 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007485/0.05172, allocations: 0.5654 MB / 383.8 MB, free: 12.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001263/0.05185, allocations: 53.28 kB / 383.9 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008899/0.05274, allocations: 0.8118 MB / 384.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=165): time 4.95e-06/0.05274, allocations: 0 / 384.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=187): time 0.007448/0.06019, allocations: 5.281 MB / 389.9 MB, free: 6.297 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.71e-05/0.06029, allocations: 287.1 kB / 390.2 MB, free: 5.953 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.06189, allocations: 1.504 MB / 391.7 MB, free: 4.438 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.704e-05/0.06197, allocations: 57.7 kB / 391.8 MB, free: 4.375 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005912/0.06257, allocations: 0.9949 MB / 392.8 MB, free: 3.367 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000366/0.06293, allocations: 0.6506 MB / 393.4 MB, free: 2.711 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003547/0.06329, allocations: 325.1 kB / 393.7 MB, free: 2.387 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.988e-05/0.06339, allocations: 480.7 kB / 394.2 MB, free: 1.914 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008121/0.0642, allocations: 497.4 kB / 394.7 MB, free: 1.379 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007502/0.06495, allocations: 0.9675 MB / 395.7 MB, free: 212 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001837/0.06679, allocations: 1.943 MB / 397.6 MB, free: 14.01 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.06679, allocations: 4 kB / 397.6 MB, free: 14.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.00188/0.06867, allocations: 1.769 MB / 399.4 MB, free: 12.13 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9e-05/0.06876, allocations: 225.6 kB / 399.6 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.06877, allocations: 7.938 kB / 399.6 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/0.0688, allocations: 16 kB / 399.6 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009424/0.06974, allocations: 419.6 kB / 400 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.873e-05/0.06976, allocations: 19.94 kB / 400.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00051/0.07027, allocations: 59.94 kB / 400.1 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.938e-05/0.07036, allocations: 76.03 kB / 400.2 MB, free: 11.28 MB / 330.7 MB Warning: Assuming fixed start value for the following 6 variables: reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) \"Normalized valve position (between 0 and 1)\" type: Real doubleActingCylinder.cushionHead.reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) \"Normalized valve position (between 0 and 1)\" type: Real doubleActingCylinder.cushionRod.reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) \"Normalized valve position (between 0 and 1)\" type: Real j1.volumeClosed.port[2].p:VARIABLE(flow=false min = 0.0 start = throttleValve.p_init unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Pressure in the connection point\" type: Real [3] doubleActingCylinder.cushionRod.flowFraction:VARIABLE(fixed = true protected = true ) \"fraction of flow allowed by cushion\" type: Real doubleActingCylinder.cushionHead.flowFraction:VARIABLE(fixed = true protected = true ) \"fraction of flow allowed by cushion\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 12 (throttleValve.data.zetaLaminarKnown,doubleActingCylinder.cushionRod.reliefValve.variableRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionRod.cushionRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionHead.reliefValve.variableRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionHead.cushionRestriction.data.zetaLaminarKnown,reliefValve.variableRestriction.data.zetaLaminarKnown,doubleActingCylinder.cylinderChamberRod.empty,doubleActingCylinder.cylinderChamberHead.empty,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (228): * Single equations (assignments): 220 * Array equations: 0 * Algorithm blocks: 8 * 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.0005907/0.07095, allocations: 0.4986 MB / 400.7 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002892/0.07124, allocations: 282.6 kB / 401 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002341/0.07358, allocations: 1.889 MB / 402.9 MB, free: 8.441 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.07359, allocations: 20 kB / 402.9 MB, free: 8.422 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.0736, allocations: 8 kB / 402.9 MB, free: 8.414 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.07361, allocations: 11.95 kB / 402.9 MB, free: 8.402 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004438/0.07805, allocations: 3.922 MB / 406.8 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.07806, allocations: 4 kB / 406.8 MB, free: 4.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008909/0.07895, allocations: 384 kB / 407.2 MB, free: 3.875 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001441/0.07909, allocations: 43.55 kB / 407.2 MB, free: 3.828 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-05/0.07918, allocations: 55.98 kB / 407.3 MB, free: 3.773 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/0.08024, allocations: 1.768 MB / 409.1 MB, free: 1.879 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.08025, allocations: 8.031 kB / 409.1 MB, free: 1.871 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1196/0.1999, allocations: 2.672 MB / 411.7 MB, free: 76.29 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008009/0.2007, allocations: 402.7 kB / 412.1 MB, free: 76.29 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002567/0.2009, allocations: 47.41 kB / 412.2 MB, free: 76.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005359/0.2015, allocations: 54.95 kB / 412.2 MB, free: 76.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/0.2017, allocations: 155.2 kB / 412.4 MB, free: 76.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.44e-05/0.2017, allocations: 72.08 kB / 412.5 MB, free: 76.29 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001092/0.2028, allocations: 0.9046 MB / 413.4 MB, free: 76.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2028, allocations: 0 / 413.4 MB, free: 76.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001135/0.204, allocations: 0.5114 MB / 413.9 MB, free: 76.14 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 11 (reliefValve.valvePosition,doubleActingCylinder.cushionHead.reliefValve.valvePosition,doubleActingCylinder.cushionHead.flowFraction,doubleActingCylinder.cushionRod.reliefValve.valvePosition,doubleActingCylinder.cushionRod.flowFraction,doubleActingCylinder.damper.s_rel,doubleActingCylinder.damper.v_rel,doubleActingCylinder.leakage_Head2Env.port_b.p,doubleActingCylinder.leakage_Rod2Env.port_b.p,throttleValve.port_b.p,j1.volumeClosed.port[2].p) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty) * Number of discrete states: 2 ($whenCondition3,$whenCondition4) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (207): * Single equations (assignments): 198 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001076/0.2051, allocations: 0.5111 MB / 414.4 MB, free: 76.03 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001952/0.207, allocations: 1.857 MB / 416.2 MB, free: 74.95 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.301e-06/0.207, allocations: 5.078 kB / 416.2 MB, free: 74.95 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.2081, allocations: 1.42 MB / 417.7 MB, free: 73.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/0.2098, allocations: 0.6402 MB / 418.3 MB, free: 73.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004796/0.2146, allocations: 4.13 MB / 422.4 MB, free: 71.7 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.2149, allocations: 444.4 kB / 422.9 MB, free: 71.56 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009357/0.2159, allocations: 366.7 kB / 423.2 MB, free: 71.46 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003619/0.2162, allocations: 195.4 kB / 423.4 MB, free: 71.44 MB / 330.7 MB Notification: Performance of SimCode: time 2.104e-06/0.2162, allocations: 0 / 423.4 MB, free: 71.44 MB / 330.7 MB Notification: Performance of Templates: time 0.0326/0.2488, allocations: 32.93 MB / 456.3 MB, free: 40.82 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.562904808903113]