Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.LossyPumpTestSimple.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.LossyPumpTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.LossyPumpTestSimple") translateModel(OpenHydraulics.DevelopmentTests.LossyPumpTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.LossyPumpTestSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 96.34 kB / 16.24 MB, free: 6.336 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.001849/0.001849, allocations: 187.8 kB / 17.17 MB, free: 5.949 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.327/1.327, allocations: 205.1 MB / 223 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0541/0.0541, allocations: 11.84 MB / 282.2 MB, free: 328 kB / 222.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.001384/0.001384, allocations: 79.8 kB / 342.4 MB, free: 3.98 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2072, allocations: 49.21 MB / 391.6 MB, free: 49 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.LossyPumpTestSimple): time 0.006907/0.2142, allocations: 7.163 MB / 398.8 MB, free: 43.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003738/0.2179, allocations: 2.099 MB / 400.9 MB, free: 42.38 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008066/0.2188, allocations: 24.09 kB / 400.9 MB, free: 42.38 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004949/0.2193, allocations: 202.7 kB / 401.1 MB, free: 42.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001206/0.2205, allocations: 0.529 MB / 401.7 MB, free: 41.87 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009316/0.2215, allocations: 0.5198 MB / 402.2 MB, free: 41.46 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001638/0.2231, allocations: 2.146 MB / 404.3 MB, free: 40.15 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008245/0.2239, allocations: 0.7286 MB / 405.1 MB, free: 39.76 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000852/0.2248, allocations: 0.7386 MB / 405.8 MB, free: 39.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007145/0.2255, allocations: 0.8261 MB / 406.6 MB, free: 38.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002242/0.2258, allocations: 171.4 kB / 406.8 MB, free: 38.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004177/0.2262, allocations: 210.1 kB / 407 MB, free: 38.74 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002349/0.2264, allocations: 376.7 kB / 407.4 MB, free: 38.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000652/0.2271, allocations: 0.8364 MB / 408.2 MB, free: 37.85 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.2286, allocations: 1.952 MB / 410.1 MB, free: 36.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2286, allocations: 0 / 410.1 MB, free: 36.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.2286, allocations: 0.9375 kB / 410.1 MB, free: 36.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.979e-05/0.2286, allocations: 0 / 410.1 MB, free: 36.43 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 286 * Number of variables: 286 Notification: Performance of Generate backend data structure: time 0.002793/0.2314, allocations: 1.713 MB / 411.9 MB, free: 34.9 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.2315, allocations: 11.89 kB / 411.9 MB, free: 34.89 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003237/0.2318, allocations: 163.1 kB / 412 MB, free: 34.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009978/0.2328, allocations: 0.8484 MB / 412.9 MB, free: 33.83 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.852e-05/0.2329, allocations: 115.9 kB / 413 MB, free: 33.71 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.233, allocations: 123.9 kB / 413.1 MB, free: 33.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.2347, allocations: 1.245 MB / 414.4 MB, free: 32.3 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/0.2347, allocations: 4 kB / 414.4 MB, free: 32.29 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.554e-05/0.2348, allocations: 48 kB / 414.4 MB, free: 32.25 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.2348, allocations: 28 kB / 414.4 MB, free: 32.22 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/0.2363, allocations: 0.9611 MB / 415.4 MB, free: 31.25 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005484/0.2418, allocations: 5.531 MB / 420.9 MB, free: 25.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/0.2429, allocations: 0.8025 MB / 421.7 MB, free: 24.4 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005426/0.2435, allocations: 367.5 kB / 422.1 MB, free: 24.04 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6e-05/0.2436, allocations: 12.66 kB / 422.1 MB, free: 24.03 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006354/0.2442, allocations: 485.8 kB / 422.6 MB, free: 23.53 MB / 318.1 MB Notification: Performance of pre-optimization done (n=76): time 2.775e-06/0.2442, allocations: 0 / 422.6 MB, free: 23.53 MB / 318.1 MB Notification: Performance of matching and sorting (n=84): time 0.00654/0.2508, allocations: 3.537 MB / 426.1 MB, free: 19.86 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.2509, allocations: 166.9 kB / 426.3 MB, free: 19.66 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Continuous.mo:900:5-900:57:writable] Warning: Parameter idealPump1.swashPlatePD.yMax has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009882/0.2518, allocations: 0.9735 MB / 427.3 MB, free: 18.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.353e-05/0.2519, allocations: 45.7 kB / 427.3 MB, free: 18.61 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/0.2522, allocations: 0.5579 MB / 427.9 MB, free: 18.05 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.2524, allocations: 287.9 kB / 428.1 MB, free: 17.76 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.2526, allocations: 186.4 kB / 428.3 MB, free: 17.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.991e-05/0.2527, allocations: 341.9 kB / 428.7 MB, free: 17.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005799/0.2533, allocations: 378.5 kB / 429 MB, free: 16.86 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006247/0.2539, allocations: 0.5711 MB / 429.6 MB, free: 16.18 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003676/0.2576, allocations: 1.795 MB / 431.4 MB, free: 14.26 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.2576, allocations: 4 kB / 431.4 MB, free: 14.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001717/0.2593, allocations: 1.144 MB / 432.5 MB, free: 13.09 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.2594, allocations: 37.69 kB / 432.6 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.2594, allocations: 16.03 kB / 432.6 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002517/0.2596, allocations: 133.7 kB / 432.7 MB, free: 12.9 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007976/0.2604, allocations: 211.7 kB / 432.9 MB, free: 12.69 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.2625, allocations: 3.337 MB / 436.3 MB, free: 9.074 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008352/0.2634, allocations: 67.94 kB / 436.3 MB, free: 9.008 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.496e-05/0.2634, allocations: 39.98 kB / 436.4 MB, free: 8.969 MB / 318.1 MB Warning: Assuming fixed start value for the following 3 variables: constantSpeed.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real accumulator.liquidChamber.port[1].p:VARIABLE(flow=false min = 0.0 start = idealPump1.fluidPower2MechRotVar.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [1] accumulator.damper.v_rel:VARIABLE(start = 0.0 unit = "m/s" fixed = true stateSelect=StateSelect.prefer ) "Relative velocity (= der(s_rel))" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009708/0.2644, allocations: 0.6292 MB / 437 MB, free: 8.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000605/0.265, allocations: 0.5633 MB / 437.6 MB, free: 7.672 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003528/0.2686, allocations: 1.771 MB / 439.3 MB, free: 5.781 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.568e-06/0.2686, allocations: 3.938 kB / 439.3 MB, free: 5.777 MB / 318.1 MB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.001724/0.2703, allocations: 1.132 MB / 440.5 MB, free: 4.625 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.2703, allocations: 33.7 kB / 440.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2704, allocations: 8 kB / 440.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002213/0.2706, allocations: 146 kB / 440.7 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007986/0.2714, allocations: 215.6 kB / 440.9 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002017/0.2734, allocations: 3.329 MB / 444.2 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000869/0.2743, allocations: 64.02 kB / 444.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.956e-05/0.2744, allocations: 43.98 kB / 444.3 MB, free: 0.5 MB / 318.1 MB Warning: Assuming fixed start value for the following 3 variables: constantSpeed.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real accumulator.liquidChamber.port[1].p:VARIABLE(flow=false min = 0.0 start = idealPump1.fluidPower2MechRotVar.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [1] accumulator.damper.v_rel:VARIABLE(start = 0.0 unit = "m/s" fixed = true stateSelect=StateSelect.prefer ) "Relative velocity (= der(s_rel))" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 11 (idealPump1.mechanicalPumpLosses.free,accumulator.gasChamber.empty,accumulator.liquidChamber.empty,idealPump1.mechanicalPumpLosses.mode,$PRE.idealPump1.mechanicalPumpLosses.mode,idealPump1.mechanicalPumpLosses.locked,idealPump1.mechanicalPumpLosses.startBackward,$PRE.idealPump1.mechanicalPumpLosses.startBackward,idealPump1.mechanicalPumpLosses.startForward,$PRE.idealPump1.mechanicalPumpLosses.startForward,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002903/0.2747, allocations: 295.2 kB / 444.6 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.2748, allocations: 118.5 kB / 444.7 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/0.2767, allocations: 0.9502 MB / 445.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.2767, allocations: 7.984 kB / 445.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2767, allocations: 3.984 kB / 445.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004424/0.2772, allocations: 271.6 kB / 445.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.2773, allocations: 31.88 kB / 446 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006067/0.278, allocations: 51.94 kB / 446 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/0.2781, allocations: 84.88 kB / 446.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002345/0.2805, allocations: 1.214 MB / 447.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002273/0.2828, allocations: 1.602 MB / 448.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006615/0.2835, allocations: 387.8 kB / 449.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009116/0.2844, allocations: 0.6828 MB / 450 MB, free: 10.71 MB / 334.1 MB Notification: Performance of Backend: time 3.1e-07/0.2844, allocations: 3.938 kB / 450 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003486/0.2879, allocations: 1.741 MB / 451.7 MB, free: 8.895 MB / 334.1 MB Notification: Invalid unit expression 'N/ (m/s)'. Notification: Performance of SimCode: time 0.004051/0.292, allocations: 2.97 MB / 454.7 MB, free: 5.867 MB / 334.1 MB Notification: Performance of Templates: time 0.0366/0.3286, allocations: 23.18 MB / 477.9 MB, free: 14.87 MB / 366.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.LossyPumpTestSimple.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.LossyPumpTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.LossyPumpTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.LossyPumpTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.LossyPumpTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.LossyPumpTestSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.LossyPumpTestSimple.pipe 2>&1)