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.002187/0.002187, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.002834/0.002834, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.635/1.635, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.07639/0.07639, allocations: 8.693 MB / 267.9 MB, free: 4.754 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.192e-06/1.192e-06, allocations: 0 / 395.4 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.597e-05, allocations: 2.281 kB / 395.4 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple): time 0.01201/0.01204, allocations: 8.322 MB / 403.8 MB, free: 8.359 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01034/0.02238, allocations: 4.713 MB / 408.5 MB, free: 3.633 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.0238, allocations: 43.69 kB / 408.5 MB, free: 3.59 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.02524, allocations: 0.6249 MB / 409.1 MB, free: 2.961 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003698/0.02894, allocations: 1.289 MB / 410.4 MB, free: 1.664 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003999/0.03294, allocations: 1.564 MB / 412 MB, free: 116 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.1573/0.1902, allocations: 3.586 MB / 415.6 MB, free: 16.17 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.1914, allocations: 479 kB / 416.1 MB, free: 16.08 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003446/0.1948, allocations: 1.758 MB / 417.8 MB, free: 15.92 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002144/0.197, allocations: 1.081 MB / 418.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005704/0.1975, allocations: 247.9 kB / 419.1 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.199, allocations: 476.9 kB / 419.6 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007083/0.1997, allocations: 0.6675 MB / 420.3 MB, free: 15.59 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001415/0.2011, allocations: 0.8907 MB / 421.2 MB, free: 15.19 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004873/0.206, allocations: 3.623 MB / 424.8 MB, free: 13.92 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.206, allocations: 0 / 424.8 MB, free: 13.92 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.206, allocations: 2.344 kB / 424.8 MB, free: 13.92 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001371/0.2061, allocations: 0 / 424.8 MB, free: 13.92 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.006725/0.2128, allocations: 2.909 MB / 427.7 MB, free: 11.97 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.2129, allocations: 9.812 kB / 427.7 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008669/0.2137, allocations: 298.8 kB / 428 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002424/0.2162, allocations: 1.536 MB / 429.5 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000202/0.2164, allocations: 340.6 kB / 429.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002391/0.2166, allocations: 163.8 kB / 430 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002869/0.2195, allocations: 1.859 MB / 431.9 MB, free: 9.664 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.56e-05/0.2195, allocations: 2.25 kB / 431.9 MB, free: 9.664 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001462/0.2197, allocations: 63.48 kB / 431.9 MB, free: 9.617 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.37e-05/0.2197, allocations: 41.67 kB / 432 MB, free: 9.617 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002833/0.2225, allocations: 1.821 MB / 433.8 MB, free: 8.777 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008383/0.2309, allocations: 4.966 MB / 438.8 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00228/0.2332, allocations: 1.65 MB / 440.4 MB, free: 4.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001231/0.2344, allocations: 0.8733 MB / 441.3 MB, free: 4.273 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/0.2346, allocations: 43.75 kB / 441.3 MB, free: 4.254 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001278/0.2358, allocations: 1.096 MB / 442.4 MB, free: 3.402 MB / 330.7 MB Notification: Performance of pre-optimization done (n=165): time 3.787e-06/0.2358, allocations: 0 / 442.4 MB, free: 3.402 MB / 330.7 MB Notification: Performance of matching and sorting (n=187): time 0.0137/0.2495, allocations: 7.106 MB / 449.5 MB, free: 12.49 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002135/0.2498, allocations: 283 kB / 449.8 MB, free: 12.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003193/0.253, allocations: 1.927 MB / 451.7 MB, free: 10.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001372/0.2531, allocations: 57.7 kB / 451.8 MB, free: 10.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009462/0.254, allocations: 0.9196 MB / 452.7 MB, free: 9.234 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006428/0.2547, allocations: 0.6476 MB / 453.4 MB, free: 8.598 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005711/0.2553, allocations: 315.5 kB / 453.7 MB, free: 8.281 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.2554, allocations: 305.1 kB / 454 MB, free: 7.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/0.2569, allocations: 0.806 MB / 454.8 MB, free: 7.125 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001931/0.2589, allocations: 1.211 MB / 456 MB, free: 5.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01327/0.2721, allocations: 4.392 MB / 460.4 MB, free: 1.129 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.798e-06/0.2722, allocations: 3.938 kB / 460.4 MB, free: 1.125 MB / 346.7 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.0046/0.2768, allocations: 2.329 MB / 462.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001941/0.2769, allocations: 229.5 kB / 462.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/0.277, allocations: 8 kB / 462.9 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.159e-05/0.277, allocations: 12 kB / 463 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001849/0.2788, allocations: 418.3 kB / 463.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.909e-05/0.2789, allocations: 19.84 kB / 463.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.28, allocations: 67.92 kB / 463.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/0.2802, allocations: 75.97 kB / 463.5 MB, free: 13.89 MB / 362.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 = j1.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.001572/0.2817, allocations: 0.8296 MB / 464.4 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004566/0.2822, allocations: 226.5 kB / 464.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004957/0.2872, allocations: 2.49 MB / 467.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.478e-05/0.2872, allocations: 20 kB / 467.1 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.2872, allocations: 4 kB / 467.1 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.132e-05/0.2872, allocations: 11.97 kB / 467.1 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009247/0.2965, allocations: 4.589 MB / 471.7 MB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.2965, allocations: 4 kB / 471.7 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001817/0.2983, allocations: 380.8 kB / 472.1 MB, free: 5.129 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001672/0.2985, allocations: 36.84 kB / 472.1 MB, free: 5.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001437/0.2986, allocations: 59.92 kB / 472.2 MB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/0.3, allocations: 1.315 MB / 473.5 MB, free: 3.621 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.3, allocations: 4 kB / 473.5 MB, free: 3.617 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006349/0.3064, allocations: 3.62 MB / 477.1 MB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/0.3074, allocations: 406.3 kB / 477.5 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002715/0.3077, allocations: 44 kB / 477.5 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000839/0.3085, allocations: 55.97 kB / 477.6 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002999/0.3088, allocations: 157 kB / 477.7 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/0.309, allocations: 71.97 kB / 477.8 MB, free: 15.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002267/0.3112, allocations: 1.334 MB / 479.2 MB, free: 13.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3112, allocations: 0 / 479.2 MB, free: 13.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001749/0.313, allocations: 0.5076 MB / 479.7 MB, free: 13.24 MB / 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.002946/0.3159, allocations: 0.5506 MB / 480.2 MB, free: 12.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004061/0.32, allocations: 2.418 MB / 482.6 MB, free: 10.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.32, allocations: 0 / 482.6 MB, free: 10.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00252/0.3225, allocations: 1.658 MB / 484.3 MB, free: 8.547 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002697/0.3252, allocations: 0.6087 MB / 484.9 MB, free: 7.965 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008793/0.334, allocations: 4.631 MB / 489.5 MB, free: 3.227 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/0.3354, allocations: 1.021 MB / 490.5 MB, free: 2.164 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001539/0.3369, allocations: 391.5 kB / 490.9 MB, free: 1.777 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005812/0.3375, allocations: 196.4 kB / 491.1 MB, free: 1.582 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.3375, allocations: 0 / 491.1 MB, free: 1.582 MB / 378.7 MB Notification: Performance of Templates: time 0.06253/0.4, allocations: 32.72 MB / 0.5116 GB, free: 1.402 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: 6.2960194000042975]