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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenHydraulics.DevelopmentTests.DirectionalValveTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest") translateModel(OpenHydraulics.DevelopmentTests.DirectionalValveTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008856/0.0008856, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007088/0.007089, allocations: 169.9 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.4 MB / 222.4 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05341/0.05341, allocations: 11.86 MB / 282.6 MB, free: 9.602 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000577/0.0005771, allocations: 18.34 kB / 343.5 MB, free: 22.15 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.082/0.08259, allocations: 50.23 MB / 393.8 MB, free: 3.875 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.DirectionalValveTest): time 0.006871/0.0895, allocations: 7.392 MB / 401.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005963/0.09549, allocations: 3.492 MB / 404.6 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.09696, allocations: 15.94 kB / 404.7 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009706/0.09795, allocations: 234.8 kB / 404.9 MB, free: 8.699 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00189/0.09986, allocations: 0.5321 MB / 405.4 MB, free: 8.164 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001977/0.1019, allocations: 0.7148 MB / 406.1 MB, free: 7.453 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002112/0.104, allocations: 1.829 MB / 408 MB, free: 5.617 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006265/0.1046, allocations: 495.5 kB / 408.4 MB, free: 5.113 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007415/0.1054, allocations: 0.5288 MB / 409 MB, free: 4.582 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007311/0.1061, allocations: 0.657 MB / 409.6 MB, free: 3.922 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.1062, allocations: 52 kB / 409.7 MB, free: 3.871 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006536/0.1069, allocations: 315.8 kB / 410 MB, free: 3.562 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002395/0.1071, allocations: 262.8 kB / 410.2 MB, free: 3.305 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005473/0.1077, allocations: 0.6699 MB / 410.9 MB, free: 2.625 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001679/0.1094, allocations: 1.853 MB / 412.8 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1094, allocations: 0 / 412.8 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1094, allocations: 0 / 412.8 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.1094, allocations: 0 / 412.8 MB, free: 0.7656 MB / 302.1 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.002293/0.1117, allocations: 1.359 MB / 414.1 MB, free: 15.36 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.1118, allocations: 12.03 kB / 414.1 MB, free: 15.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002616/0.112, allocations: 151.2 kB / 414.3 MB, free: 15.2 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.1131, allocations: 0.8229 MB / 415.1 MB, free: 14.33 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.258e-05/0.1132, allocations: 77.94 kB / 415.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.1134, allocations: 96 kB / 415.3 MB, free: 14.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/0.1152, allocations: 1.118 MB / 416.4 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.1152, allocations: 0 / 416.4 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.882e-05/0.1153, allocations: 40 kB / 416.4 MB, free: 12.99 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/0.1154, allocations: 27.98 kB / 416.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.117, allocations: 1.015 MB / 417.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006339/0.1234, allocations: 5.999 MB / 423.5 MB, free: 5.234 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.1246, allocations: 0.7598 MB / 424.2 MB, free: 4.469 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006592/0.1252, allocations: 390.6 kB / 424.6 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002246/0.1255, allocations: 190.8 kB / 424.8 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.1255, allocations: 39.2 kB / 424.8 MB, free: 3.816 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 2.635e-06/0.1255, allocations: 4 kB / 424.8 MB, free: 3.812 MB / 318.1 MB Notification: Performance of matching and sorting (n=76): time 0.004908/0.1304, allocations: 2.281 MB / 427.1 MB, free: 1.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.1305, allocations: 72.05 kB / 427.2 MB, free: 1.395 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/0.1319, allocations: 1.054 MB / 428.3 MB, free: 328 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.634e-05/0.1319, allocations: 41.7 kB / 428.3 MB, free: 280 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1647/0.2966, allocations: 0.53 MB / 428.8 MB, free: 39.93 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004553/0.2971, allocations: 268.1 kB / 429.1 MB, free: 39.86 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002651/0.2974, allocations: 76.55 kB / 429.2 MB, free: 39.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.2975, allocations: 337.9 kB / 429.5 MB, free: 39.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007977/0.2983, allocations: 348.1 kB / 429.8 MB, free: 39.53 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007358/0.2991, allocations: 0.4947 MB / 430.3 MB, free: 39.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006166/0.3053, allocations: 1.844 MB / 432.2 MB, free: 39.1 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.3053, allocations: 2.188 kB / 432.2 MB, free: 39.1 MB / 318.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002166/0.3075, allocations: 1.014 MB / 433.2 MB, free: 38.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.3075, allocations: 7.875 kB / 433.2 MB, free: 38.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.3075, allocations: 8.781 kB / 433.2 MB, free: 38.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.029e-05/0.3076, allocations: 16.78 kB / 433.2 MB, free: 38.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009572/0.3085, allocations: 228.8 kB / 433.4 MB, free: 38.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-05/0.3086, allocations: 11.66 kB / 433.5 MB, free: 38.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008095/0.3094, allocations: 64.89 kB / 433.5 MB, free: 38.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.118e-05/0.3095, allocations: 41.06 kB / 433.6 MB, free: 38.61 MB / 318.1 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 = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))))))))))) start = valve4_3pos.P2A.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [3] valve4_3pos.j3.volumeClosed.port[2].p:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))))))))))) start = valve4_3pos.P2B.p_init unit = "Pa" fixed = true nominal = 100000.0 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.0007442/0.3103, allocations: 431.4 kB / 434 MB, free: 38.35 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/0.3105, allocations: 114.7 kB / 434.1 MB, free: 38.29 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001889/0.3124, allocations: 0.9627 MB / 435.1 MB, free: 37.88 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.3124, allocations: 12.31 kB / 435.1 MB, free: 37.88 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.3124, allocations: 0 / 435.1 MB, free: 37.88 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.3124, allocations: 6.781 kB / 435.1 MB, free: 37.88 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003836/0.3163, allocations: 2.305 MB / 437.4 MB, free: 36.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.3163, allocations: 7 kB / 437.4 MB, free: 36.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008386/0.3171, allocations: 193 kB / 437.6 MB, free: 36.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.434e-05/0.3172, allocations: 3.719 kB / 437.6 MB, free: 36.62 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-05/0.3173, allocations: 31.52 kB / 437.6 MB, free: 36.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.491e-05/0.3173, allocations: 5.562 kB / 437.6 MB, free: 36.6 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.3173, allocations: 2.781 kB / 437.6 MB, free: 36.6 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/0.3196, allocations: 1.377 MB / 439 MB, free: 35.89 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005186/0.3202, allocations: 290.1 kB / 439.3 MB, free: 35.67 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000206/0.3204, allocations: 19.66 kB / 439.3 MB, free: 35.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000588/0.321, allocations: 40.19 kB / 439.3 MB, free: 35.65 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.3211, allocations: 64.8 kB / 439.4 MB, free: 35.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.995e-05/0.3212, allocations: 31.47 kB / 439.4 MB, free: 35.62 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001194/0.3224, allocations: 0.7364 MB / 440.2 MB, free: 35.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3224, allocations: 0 / 440.2 MB, free: 35.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001103/0.3235, allocations: 307.1 kB / 440.5 MB, free: 35.29 MB / 318.1 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.001143/0.3247, allocations: 463.8 kB / 440.9 MB, free: 35.08 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001561/0.3263, allocations: 0.7897 MB / 441.7 MB, free: 34.8 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.3263, allocations: 2.469 kB / 441.7 MB, free: 34.8 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006993/0.327, allocations: 399.9 kB / 442.1 MB, free: 34.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001986/0.329, allocations: 340.6 kB / 442.4 MB, free: 34.54 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004147/0.3331, allocations: 2.917 MB / 445.3 MB, free: 32.76 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008116/0.334, allocations: 1.155 MB / 446.5 MB, free: 32 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.00095/0.3349, allocations: 219.9 kB / 446.7 MB, free: 31.95 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003408/0.3353, allocations: 104.2 kB / 446.8 MB, free: 31.93 MB / 318.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3353, allocations: 0 / 446.8 MB, free: 31.93 MB / 318.1 MB Notification: Performance of Templates: time 0.02396/0.3593, allocations: 16.96 MB / 463.8 MB, free: 17.16 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.makefile Environment - environmentSimulation: (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=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.pipe 2>&1) Environment - environmentSimulation: