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.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.001794/0.001794, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 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.002042/0.002042, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.573/1.573, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.06241/0.06241, allocations: 8.702 MB / 268.3 MB, free: 4.586 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.ReliefValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest") translateModel(OpenHydraulics.DevelopmentTests.ReliefValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 340.1 MB, free: 8.41 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.04e-05/2.188e-05, allocations: 2.312 kB / 340.1 MB, free: 8.406 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ReliefValveTest): time 0.004381/0.004403, allocations: 4.375 MB / 344.5 MB, free: 4.004 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003419/0.007822, allocations: 2.95 MB / 347.4 MB, free: 1.047 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002758/0.008097, allocations: 11.94 kB / 347.5 MB, free: 1.035 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004056/0.008503, allocations: 162.7 kB / 347.6 MB, free: 0.875 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006389/0.009142, allocations: 405.3 kB / 348 MB, free: 488 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.01022, allocations: 0.6151 MB / 348.6 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001392/0.01161, allocations: 1.167 MB / 349.8 MB, free: 14.69 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003901/0.012, allocations: 197.2 kB / 350 MB, free: 14.49 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008955/0.0129, allocations: 0.6119 MB / 350.6 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006607/0.01356, allocations: 395 kB / 351 MB, free: 13.49 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.0137, allocations: 88 kB / 351.1 MB, free: 13.41 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006109/0.01431, allocations: 303.7 kB / 351.4 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002505/0.01456, allocations: 215.2 kB / 351.6 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004389/0.015, allocations: 315.3 kB / 351.9 MB, free: 12.59 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00171/0.01671, allocations: 1.266 MB / 353.1 MB, free: 11.32 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.01672, allocations: 0 / 353.1 MB, free: 11.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01672, allocations: 3.938 kB / 353.2 MB, free: 11.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.01673, allocations: 0 / 353.2 MB, free: 11.32 MB / 282.7 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.002487/0.01922, allocations: 1.213 MB / 354.4 MB, free: 10.05 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.01925, allocations: 8.031 kB / 354.4 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003209/0.01957, allocations: 132.4 kB / 354.5 MB, free: 9.918 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008576/0.02043, allocations: 478.1 kB / 355 MB, free: 9.422 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.284e-05/0.02048, allocations: 45.62 kB / 355 MB, free: 9.379 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.0206, allocations: 68.08 kB / 355.1 MB, free: 9.312 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.02208, allocations: 0.7533 MB / 355.8 MB, free: 8.527 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.0221, allocations: 0 / 355.8 MB, free: 8.527 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.245e-05/0.02217, allocations: 24 kB / 355.9 MB, free: 8.504 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.0222, allocations: 16 kB / 355.9 MB, free: 8.488 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.02336, allocations: 0.5221 MB / 356.4 MB, free: 7.961 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004611/0.02797, allocations: 2.402 MB / 358.8 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.02901, allocations: 459.5 kB / 359.2 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004081/0.02941, allocations: 220.8 kB / 359.5 MB, free: 4.805 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001018/0.02952, allocations: 19.98 kB / 359.5 MB, free: 4.785 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.02956, allocations: 41.89 kB / 359.5 MB, free: 4.734 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 1.924e-06/0.02956, allocations: 0 / 359.5 MB, free: 4.734 MB / 282.7 MB Notification: Performance of matching and sorting (n=43): time 0.003549/0.03311, allocations: 1.368 MB / 360.9 MB, free: 3.293 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.318e-05/0.03318, allocations: 85.09 kB / 361 MB, free: 3.191 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.03419, allocations: 0.5807 MB / 361.6 MB, free: 2.594 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.309e-05/0.03424, allocations: 37.7 kB / 361.6 MB, free: 2.551 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003704/0.03461, allocations: 395.5 kB / 362 MB, free: 2.156 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/0.03483, allocations: 178.7 kB / 362.1 MB, free: 1.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/0.03505, allocations: 119.8 kB / 362.3 MB, free: 1.852 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003643/0.03542, allocations: 0.5742 MB / 362.8 MB, free: 1.266 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004477/0.03587, allocations: 231.3 kB / 363.1 MB, free: 1.031 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005576/0.03642, allocations: 384.2 kB / 363.4 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.03759, allocations: 0.6649 MB / 364.1 MB, free: 15.85 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.03759, allocations: 0 / 364.1 MB, free: 15.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001279/0.03887, allocations: 0.633 MB / 364.7 MB, free: 15.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.3e-05/0.03891, allocations: 31.73 kB / 364.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.03892, allocations: 4 kB / 364.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000301/0.03922, allocations: 127.6 kB / 364.9 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004924/0.03972, allocations: 99.83 kB / 365 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002547/0.04226, allocations: 2.266 MB / 367.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000364/0.04263, allocations: 31.97 kB / 367.3 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-05/0.04268, allocations: 23.98 kB / 367.3 MB, free: 12.48 MB / 298.7 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.0004852/0.04317, allocations: 316.8 kB / 367.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.04332, allocations: 71.56 kB / 367.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.04461, allocations: 0.5658 MB / 368.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.04462, allocations: 4 kB / 368.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.04462, allocations: 4 kB / 368.3 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.04463, allocations: 0 / 368.3 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002781/0.04741, allocations: 1.351 MB / 369.6 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.04741, allocations: 0 / 369.6 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004564/0.04787, allocations: 79.91 kB / 369.7 MB, free: 9.992 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002286/0.0481, allocations: 119.6 kB / 369.8 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.619e-05/0.04814, allocations: 12 kB / 369.8 MB, free: 9.859 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002145/0.05029, allocations: 1.994 MB / 371.8 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.05029, allocations: 0 / 371.8 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.05193, allocations: 0.9482 MB / 372.8 MB, free: 6.738 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002589/0.05219, allocations: 103.5 kB / 372.9 MB, free: 6.637 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.884e-05/0.05228, allocations: 20 kB / 372.9 MB, free: 6.617 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/0.05263, allocations: 32 kB / 372.9 MB, free: 6.586 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002937/0.05292, allocations: 123.8 kB / 373 MB, free: 6.465 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.617e-05/0.05297, allocations: 19.98 kB / 373.1 MB, free: 6.445 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004857/0.05346, allocations: 371 kB / 373.4 MB, free: 6.086 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05346, allocations: 0 / 373.4 MB, free: 6.086 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000791/0.05425, allocations: 203.7 kB / 373.6 MB, free: 5.887 MB / 298.7 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.00275/0.057, allocations: 479.1 kB / 374.1 MB, free: 5.562 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.0584, allocations: 0.7222 MB / 374.8 MB, free: 4.801 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.0584, allocations: 4 kB / 374.8 MB, free: 4.797 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007284/0.05913, allocations: 478.4 kB / 375.3 MB, free: 4.289 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007758/0.05991, allocations: 151 kB / 375.4 MB, free: 4.148 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.06262, allocations: 1.253 MB / 376.7 MB, free: 2.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.06303, allocations: 325.1 kB / 377 MB, free: 2.496 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002975/0.06333, allocations: 72.38 kB / 377.1 MB, free: 2.426 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.0635, allocations: 48.48 kB / 377.1 MB, free: 2.375 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/0.0635, allocations: 4 kB / 377.1 MB, free: 2.371 MB / 298.7 MB Notification: Performance of Templates: time 0.021/0.0845, allocations: 9.864 MB / 387 MB, free: 8.633 MB / 314.7 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=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.882273472030647]