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.0009536/0.0009536, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.0009497/0.0009497, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9797/0.9797, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.03429/0.03429, allocations: 8.717 MB / 269.8 MB, free: 4.379 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.653e-06/1.653e-06, allocations: 0 / 342.1 MB, free: 8.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.894e-05/3.06e-05, allocations: 5.125 kB / 342.1 MB, free: 8.676 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.DirectionalValveTest): time 0.005718/0.005748, allocations: 5.975 MB / 348.1 MB, free: 2.664 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005362/0.01111, allocations: 3.56 MB / 351.6 MB, free: 15.09 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006804/0.01179, allocations: 23.81 kB / 351.6 MB, free: 15.07 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006949/0.01249, allocations: 297.7 kB / 351.9 MB, free: 14.78 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001338/0.01382, allocations: 0.7063 MB / 352.6 MB, free: 14.07 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.01561, allocations: 0.9116 MB / 353.5 MB, free: 13.15 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001693/0.0173, allocations: 1.984 MB / 355.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004601/0.01776, allocations: 304.5 kB / 355.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.01883, allocations: 0.986 MB / 356.8 MB, free: 9.852 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007302/0.01956, allocations: 0.6467 MB / 357.5 MB, free: 9.203 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.01971, allocations: 135.9 kB / 357.6 MB, free: 9.07 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006872/0.0204, allocations: 403.6 kB / 358 MB, free: 8.676 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002441/0.02064, allocations: 362.6 kB / 358.3 MB, free: 8.32 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006967/0.02134, allocations: 0.5065 MB / 358.8 MB, free: 7.812 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.02268, allocations: 1.367 MB / 360.2 MB, free: 6.441 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.02268, allocations: 0 / 360.2 MB, free: 6.441 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.02269, allocations: 0 / 360.2 MB, free: 6.441 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.0227, allocations: 0 / 360.2 MB, free: 6.441 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.001756/0.02446, allocations: 1.728 MB / 361.9 MB, free: 4.668 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.02449, allocations: 8.031 kB / 362 MB, free: 4.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003429/0.02483, allocations: 247.9 kB / 362.2 MB, free: 4.418 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007629/0.0256, allocations: 0.7849 MB / 363 MB, free: 3.609 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.181e-05/0.02566, allocations: 82.31 kB / 363.1 MB, free: 3.527 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.761e-05/0.02576, allocations: 96.12 kB / 363.2 MB, free: 3.434 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007972/0.02655, allocations: 0.7272 MB / 363.9 MB, free: 2.684 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.02658, allocations: 0 / 363.9 MB, free: 2.684 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.695e-05/0.02663, allocations: 36 kB / 363.9 MB, free: 2.648 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.02665, allocations: 24 kB / 363.9 MB, free: 2.625 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004763/0.02712, allocations: 381.6 kB / 364.3 MB, free: 2.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003384/0.03051, allocations: 2.703 MB / 367 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004579/0.03097, allocations: 380.1 kB / 367.4 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.03121, allocations: 177.5 kB / 367.6 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.03132, allocations: 40.62 kB / 367.6 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.03135, allocations: 42.05 kB / 367.6 MB, free: 14.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=72): time 2.855e-06/0.03135, allocations: 0 / 367.6 MB, free: 14.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=76): time 0.002177/0.03353, allocations: 1.206 MB / 368.8 MB, free: 13.61 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.03356, allocations: 60.06 kB / 368.9 MB, free: 13.54 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000604/0.03417, allocations: 0.8188 MB / 369.7 MB, free: 12.69 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.467e-05/0.03421, allocations: 41.7 kB / 369.8 MB, free: 12.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003381/0.03455, allocations: 0.6355 MB / 370.4 MB, free: 12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.0347, allocations: 277.6 kB / 370.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.03488, allocations: 188.1 kB / 370.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.03501, allocations: 0.5081 MB / 371.4 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.0352, allocations: 159.4 kB / 371.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002947/0.0355, allocations: 430 kB / 371.9 MB, free: 10.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009847/0.03648, allocations: 0.66 MB / 372.6 MB, free: 9.555 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.03649, allocations: 4 kB / 372.6 MB, free: 9.551 MB / 346.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0007467/0.03724, allocations: 0.6373 MB / 373.2 MB, free: 8.91 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.03726, allocations: 8 kB / 373.2 MB, free: 8.902 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.03727, allocations: 4 kB / 373.3 MB, free: 8.898 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.03729, allocations: 12 kB / 373.3 MB, free: 8.887 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005196/0.03781, allocations: 231.9 kB / 373.5 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.03781, allocations: 8 kB / 373.5 MB, free: 8.652 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.03807, allocations: 31.92 kB / 373.5 MB, free: 8.621 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.516e-05/0.03812, allocations: 35.98 kB / 373.6 MB, free: 8.586 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.0003345/0.03845, allocations: 233.7 kB / 373.8 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.0386, allocations: 135.3 kB / 373.9 MB, free: 8.219 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007987/0.0394, allocations: 0.6138 MB / 374.5 MB, free: 7.594 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.03941, allocations: 8 kB / 374.5 MB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.03941, allocations: 0 / 374.5 MB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.03942, allocations: 7.922 kB / 374.6 MB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.04123, allocations: 1.477 MB / 376 MB, free: 6.031 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.04124, allocations: 4 kB / 376 MB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004233/0.04166, allocations: 183.8 kB / 376.2 MB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/0.04167, allocations: 8 kB / 376.2 MB, free: 5.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/0.04171, allocations: 28.2 kB / 376.2 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.04171, allocations: 8 kB / 376.3 MB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.04171, allocations: 0 / 376.3 MB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008759/0.04259, allocations: 0.8841 MB / 377.1 MB, free: 4.867 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002143/0.0428, allocations: 175.2 kB / 377.3 MB, free: 4.695 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.513e-05/0.04288, allocations: 20 kB / 377.3 MB, free: 4.676 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.04308, allocations: 24 kB / 377.4 MB, free: 4.652 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.588e-05/0.04316, allocations: 64.47 kB / 377.4 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.04319, allocations: 24.06 kB / 377.4 MB, free: 4.566 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003425/0.04353, allocations: 487.8 kB / 377.9 MB, free: 4.078 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04353, allocations: 0 / 377.9 MB, free: 4.078 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007046/0.04424, allocations: 311.6 kB / 378.2 MB, free: 3.773 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.0009409/0.04518, allocations: 467.3 kB / 378.7 MB, free: 3.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005598/0.04574, allocations: 439.8 kB / 379.1 MB, free: 2.996 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.04574, allocations: 0 / 379.1 MB, free: 2.996 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.04598, allocations: 249.1 kB / 379.4 MB, free: 2.746 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007129/0.04669, allocations: 309.6 kB / 379.7 MB, free: 2.453 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.04937, allocations: 2.004 MB / 381.7 MB, free: 392 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.04954, allocations: 256.9 kB / 381.9 MB, free: 112 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004491/0.04999, allocations: 175.1 kB / 382.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005053/0.05049, allocations: 358 kB / 382.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of SimCode: time 1.242e-06/0.0505, allocations: 0 / 382.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of Templates: time 0.02266/0.07316, allocations: 18.1 MB / 400.5 MB, free: 13.76 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.273397258017212]