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.0009674/0.0009674, allocations: 81.08 kB / 19.87 MB, free: 4.621 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.000899/0.000899, allocations: 169 kB / 23.28 MB, free: 1.219 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.9416/0.9416, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.036/0.036, allocations: 8.721 MB / 269 MB, free: 4.371 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.523e-06/1.523e-06, allocations: 0 / 341.3 MB, free: 8.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.217e-05/1.37e-05, allocations: 4.703 kB / 341.3 MB, free: 8.836 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple): time 0.006662/0.006675, allocations: 9.148 MB / 350.4 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005461/0.01214, allocations: 4.823 MB / 355.3 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006174/0.01275, allocations: 39.69 kB / 355.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008699/0.01362, allocations: 0.6133 MB / 355.9 MB, free: 10.15 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.01523, allocations: 1.301 MB / 357.2 MB, free: 8.84 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002146/0.01737, allocations: 1.563 MB / 358.8 MB, free: 7.273 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002522/0.01989, allocations: 3.584 MB / 362.4 MB, free: 3.676 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005753/0.02047, allocations: 475.1 kB / 362.8 MB, free: 3.184 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.022, allocations: 1.777 MB / 364.6 MB, free: 1.402 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.02305, allocations: 1.126 MB / 365.7 MB, free: 280 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002474/0.02329, allocations: 244 kB / 366 MB, free: 36 kB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005878/0.02388, allocations: 479.6 kB / 366.4 MB, free: 15.57 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003789/0.02426, allocations: 0.6694 MB / 367.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00065/0.02491, allocations: 0.8999 MB / 368 MB, free: 13.99 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001672/0.02658, allocations: 2.219 MB / 370.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.02658, allocations: 0 / 370.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.02659, allocations: 4 kB / 370.2 MB, free: 11.76 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.908e-05/0.02661, allocations: 0 / 370.2 MB, free: 11.76 MB / 346.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.002713/0.02933, allocations: 3.054 MB / 373.3 MB, free: 8.602 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.02937, allocations: 16.02 kB / 373.3 MB, free: 8.586 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004666/0.02983, allocations: 427.2 kB / 373.7 MB, free: 8.168 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/0.03126, allocations: 1.45 MB / 375.2 MB, free: 6.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001731/0.03144, allocations: 345 kB / 375.5 MB, free: 6.293 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/0.03161, allocations: 167.9 kB / 375.7 MB, free: 6.129 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.03287, allocations: 1.113 MB / 376.8 MB, free: 4.945 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/0.0329, allocations: 3.984 kB / 376.8 MB, free: 4.941 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.9e-05/0.03299, allocations: 68 kB / 376.8 MB, free: 4.875 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.03301, allocations: 36 kB / 376.9 MB, free: 4.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008189/0.03383, allocations: 0.7617 MB / 377.6 MB, free: 4.031 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004919/0.03875, allocations: 4.155 MB / 381.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.03981, allocations: 1.025 MB / 382.8 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004771/0.04029, allocations: 0.5061 MB / 383.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.04039, allocations: 73.06 kB / 383.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006127/0.041, allocations: 0.761 MB / 384.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=165): time 2.765e-06/0.041, allocations: 0 / 384.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=187): time 0.00533/0.04633, allocations: 4.624 MB / 388.8 MB, free: 8.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.073e-05/0.04642, allocations: 287 kB / 389.1 MB, free: 7.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.04755, allocations: 1.444 MB / 390.5 MB, free: 6.523 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.63e-05/0.04762, allocations: 57.7 kB / 390.6 MB, free: 6.461 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005809/0.0482, allocations: 1.038 MB / 391.6 MB, free: 5.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003383/0.04854, allocations: 0.6544 MB / 392.3 MB, free: 4.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003224/0.04886, allocations: 325 kB / 392.6 MB, free: 4.422 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.04898, allocations: 480.7 kB / 393 MB, free: 3.949 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/0.04933, allocations: 429.4 kB / 393.5 MB, free: 3.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000916/0.05025, allocations: 0.9165 MB / 394.4 MB, free: 2.363 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.05166, allocations: 1.779 MB / 396.2 MB, free: 336 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.05166, allocations: 0 / 396.2 MB, free: 336 kB / 362.7 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.001421/0.05308, allocations: 1.644 MB / 397.8 MB, free: 14.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.045e-05/0.05317, allocations: 229.6 kB / 398 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.05318, allocations: 4 kB / 398 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.0532, allocations: 16 kB / 398.1 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008499/0.05405, allocations: 411.4 kB / 398.5 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.05406, allocations: 24.11 kB / 398.5 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003762/0.05444, allocations: 55.98 kB / 398.5 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.265e-05/0.05453, allocations: 63.97 kB / 398.6 MB, free: 13.74 MB / 378.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 (doubleActingCylinder.cylinderChamberRod.empty,doubleActingCylinder.cylinderChamberHead.empty,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,reliefValve.variableRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionHead.cushionRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionHead.reliefValve.variableRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionRod.cushionRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionRod.reliefValve.variableRestriction.data.zetaLaminarKnown,throttleValve.data.zetaLaminarKnown) * 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.0005102/0.05504, allocations: 0.4963 MB / 399.1 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002509/0.05529, allocations: 290.5 kB / 399.4 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001999/0.05729, allocations: 1.764 MB / 401.1 MB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.05731, allocations: 20 kB / 401.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.05731, allocations: 0 / 401.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.05732, allocations: 7.969 kB / 401.2 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003539/0.06086, allocations: 3.544 MB / 404.7 MB, free: 7.238 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.06087, allocations: 4 kB / 404.7 MB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008175/0.06169, allocations: 383.9 kB / 405.1 MB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.045e-05/0.06178, allocations: 35.66 kB / 405.1 MB, free: 6.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.569e-05/0.06185, allocations: 51.98 kB / 405.2 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007485/0.0626, allocations: 1.753 MB / 406.9 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.0626, allocations: 7.938 kB / 406.9 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002306/0.06491, allocations: 2.493 MB / 409.4 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004463/0.06536, allocations: 386.4 kB / 409.8 MB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.06549, allocations: 43.98 kB / 409.8 MB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003766/0.06587, allocations: 55.98 kB / 409.9 MB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.06604, allocations: 153.6 kB / 410.1 MB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.649e-05/0.06612, allocations: 63.97 kB / 410.1 MB, free: 1.473 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006517/0.06677, allocations: 0.8225 MB / 410.9 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.06677, allocations: 0 / 410.9 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008615/0.06763, allocations: 0.5115 MB / 411.4 MB, free: 152 kB / 378.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.001029/0.06866, allocations: 0.5112 MB / 412 MB, free: 15.76 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001256/0.06991, allocations: 1.737 MB / 413.7 MB, free: 13.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.06992, allocations: 1.562 kB / 413.7 MB, free: 13.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.07102, allocations: 1.362 MB / 415.1 MB, free: 12.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.0723, allocations: 0.6296 MB / 415.7 MB, free: 11.69 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004204/0.07651, allocations: 4.097 MB / 419.8 MB, free: 7.422 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.07684, allocations: 444.9 kB / 420.2 MB, free: 6.961 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007549/0.07759, allocations: 335.6 kB / 420.5 MB, free: 6.629 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/0.07867, allocations: 0.7009 MB / 421.2 MB, free: 5.926 MB / 394.7 MB Notification: Performance of SimCode: time 7.21e-07/0.07867, allocations: 0 / 421.2 MB, free: 5.926 MB / 394.7 MB Notification: Performance of Templates: time 0.1589/0.2376, allocations: 36.27 MB / 457.5 MB, free: 125.9 MB / 410.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.5918550831265748]