Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 107.4 kB / 18.19 MB, free: 4.141 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 189.9 kB / 21.34 MB, free: 1 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 207.6 MB / 231.9 MB, free: 3.176 MB / 174.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05762/0.05762, allocations: 12.01 MB / 296 MB, free: 3.293 MB / 238.1 MB [Timeout remaining time 90] 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.ReliefValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest") translateModel(OpenHydraulics.DevelopmentTests.ReliefValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest") [Timeout 660] 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.002228/0.002228, allocations: 73.94 kB / 414.7 MB, free: 9.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3149, allocations: 51.89 MB / 466.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ReliefValveTest): time 0.006976/0.3219, allocations: 4.425 MB / 471.1 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00532/0.3272, allocations: 2.731 MB / 473.8 MB, free: 9.746 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006574/0.3278, allocations: 10.22 kB / 473.8 MB, free: 9.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006206/0.3285, allocations: 151.6 kB / 474 MB, free: 9.621 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001032/0.3295, allocations: 347.7 kB / 474.3 MB, free: 9.332 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.3311, allocations: 0.5706 MB / 474.9 MB, free: 8.902 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001459/0.3325, allocations: 1.1 MB / 476 MB, free: 8.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004597/0.333, allocations: 235.1 kB / 476.2 MB, free: 8.066 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005701/0.3336, allocations: 402.6 kB / 476.6 MB, free: 7.672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006106/0.3342, allocations: 446.2 kB / 477 MB, free: 7.234 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.3343, allocations: 88 kB / 477.1 MB, free: 7.148 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006599/0.335, allocations: 303.8 kB / 477.4 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002319/0.3352, allocations: 203.3 kB / 477.6 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000458/0.3357, allocations: 442 kB / 478 MB, free: 6.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001573/0.3373, allocations: 1.186 MB / 479.2 MB, free: 5.035 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3373, allocations: 0 / 479.2 MB, free: 5.035 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3373, allocations: 0 / 479.2 MB, free: 5.035 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.3373, allocations: 0 / 479.2 MB, free: 5.035 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002054/0.3393, allocations: 1.103 MB / 480.3 MB, free: 3.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.3394, allocations: 15.89 kB / 480.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000229/0.3396, allocations: 84.42 kB / 480.4 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008228/0.3404, allocations: 0.5058 MB / 480.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.606e-05/0.3405, allocations: 49.25 kB / 481 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.3406, allocations: 59.95 kB / 481 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.3418, allocations: 0.6869 MB / 481.7 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.3419, allocations: 3.938 kB / 481.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.095e-05/0.3419, allocations: 20 kB / 481.7 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.689e-05/0.342, allocations: 19.98 kB / 481.8 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.343, allocations: 0.54 MB / 482.3 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004912/0.3479, allocations: 3.387 MB / 485.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009686/0.3489, allocations: 494.9 kB / 486.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003488/0.3492, allocations: 184.9 kB / 486.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.3493, allocations: 85.11 kB / 486.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.3494, allocations: 38.56 kB / 486.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.896e-06/0.3494, allocations: 4.5 kB / 486.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.003423/0.3528, allocations: 1.466 MB / 487.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.725e-05/0.3529, allocations: 85.11 kB / 488 MB, free: 11.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007701/0.3536, allocations: 0.5732 MB / 488.6 MB, free: 11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.374e-05/0.3537, allocations: 37.7 kB / 488.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002923/0.354, allocations: 309.2 kB / 488.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.3541, allocations: 162.6 kB / 489.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.3543, allocations: 90.2 kB / 489.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002277/0.3546, allocations: 370.8 kB / 489.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003534/0.3549, allocations: 182.9 kB / 489.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004395/0.3553, allocations: 273.9 kB / 490 MB, free: 9.531 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003007/0.3584, allocations: 1.041 MB / 491 MB, free: 8.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3584, allocations: 0 / 491 MB, free: 8.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001163/0.3595, allocations: 0.5839 MB / 491.6 MB, free: 7.824 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.159e-05/0.3596, allocations: 33.7 kB / 491.7 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3596, allocations: 0 / 491.7 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002445/0.3598, allocations: 104.8 kB / 491.8 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004559/0.3603, allocations: 108.2 kB / 491.9 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002292/0.3626, allocations: 1.779 MB / 493.6 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005274/0.3631, allocations: 43.95 kB / 493.7 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.396e-05/0.3632, allocations: 19.94 kB / 493.7 MB, free: 5.594 MB / 350.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 reliefValve.variableRestriction.port_a.p:VARIABLE(flow=false min = 0.0 start = idealPump.fluidPower2MechRot.p_init unit = "Pa" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 9 (reliefValve.variableRestriction.data.zetaLaminarKnown,idealPump.mechanicalPumpLosses.free,idealPump.mechanicalPumpLosses.mode,$PRE.idealPump.mechanicalPumpLosses.mode,idealPump.mechanicalPumpLosses.locked,idealPump.mechanicalPumpLosses.startBackward,$PRE.idealPump.mechanicalPumpLosses.startBackward,idealPump.mechanicalPumpLosses.startForward,$PRE.idealPump.mechanicalPumpLosses.startForward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0006136/0.3638, allocations: 282.4 kB / 494 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.3639, allocations: 59.62 kB / 494 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.3652, allocations: 0.5375 MB / 494.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.3652, allocations: 8 kB / 494.6 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3652, allocations: 3.938 kB / 494.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.3652, allocations: 3.984 kB / 494.6 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002527/0.3678, allocations: 1.281 MB / 495.9 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.3678, allocations: 0 / 495.9 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004347/0.3682, allocations: 83.89 kB / 496 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001867/0.3684, allocations: 80.88 kB / 496 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.321e-05/0.3684, allocations: 11.98 kB / 496 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001868/0.3703, allocations: 1.594 MB / 497.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.3703, allocations: 7.875 kB / 497.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.3718, allocations: 0.8119 MB / 498.5 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003538/0.3721, allocations: 192.7 kB / 498.6 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.3722, allocations: 20 kB / 498.7 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000421/0.3727, allocations: 39.95 kB / 498.7 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003036/0.373, allocations: 131.6 kB / 498.8 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-05/0.373, allocations: 19.98 kB / 498.9 MB, free: 148 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006631/0.3737, allocations: 410.8 kB / 499.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3737, allocations: 0 / 499.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008663/0.3746, allocations: 207.7 kB / 499.5 MB, free: 15.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (reliefValve.variableRestriction.port_a.p,reliefValve.valvePosition,circuitTank.volumeOpen.m,constantSpeed.phi) * Number of discrete variables: 4 (idealPump.mechanicalPumpLosses.startForward,idealPump.mechanicalPumpLosses.startBackward,idealPump.mechanicalPumpLosses.locked,idealPump.mechanicalPumpLosses.mode) * Number of discrete states: 3 (idealPump.mechanicalPumpLosses.mode,idealPump.mechanicalPumpLosses.startBackward,idealPump.mechanicalPumpLosses.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001687/0.3762, allocations: 440.9 kB / 499.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.3776, allocations: 0.5587 MB / 0.4887 GB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.3776, allocations: 4 kB / 0.4887 GB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006188/0.3783, allocations: 361.8 kB / 0.4891 GB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009976/0.3793, allocations: 202.3 kB / 0.4893 GB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002885/0.3821, allocations: 1.354 MB / 0.4906 GB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007422/0.3829, allocations: 0.9259 MB / 0.4915 GB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.3831, allocations: 59.36 kB / 0.4915 GB, free: 11.59 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3831, allocations: 0 / 0.4915 GB, free: 11.59 MB / 366.1 MB Notification: Performance of Templates: time 0.02388/0.407, allocations: 13.13 MB / 0.5044 GB, free: 14.44 MB / 382.1 MB [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.pipe 2>&1) [Timeout 480]