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.0008804/0.0008804, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0008653/0.0008653, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.9211/0.9211, allocations: 177.2 MB / 203.7 MB, free: 5.523 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.04944/0.04944, allocations: 8.72 MB / 269 MB, free: 4.398 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.853e-06/1.853e-06, allocations: 0 / 341.3 MB, free: 7.797 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.035e-05/3.22e-05, allocations: 2.312 kB / 341.3 MB, free: 7.793 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ReliefValveTest): time 0.00544/0.005472, allocations: 4.363 MB / 345.7 MB, free: 3.402 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004199/0.009672, allocations: 2.94 MB / 348.6 MB, free: 464 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006401/0.01031, allocations: 11.94 kB / 348.6 MB, free: 452 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005288/0.01084, allocations: 158.8 kB / 348.8 MB, free: 292 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.01187, allocations: 409.2 kB / 349.2 MB, free: 15.88 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.01338, allocations: 0.619 MB / 349.8 MB, free: 15.26 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001331/0.01471, allocations: 1.16 MB / 350.9 MB, free: 14.1 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004127/0.01512, allocations: 201.1 kB / 351.1 MB, free: 13.9 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009998/0.01612, allocations: 0.608 MB / 351.8 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006483/0.01677, allocations: 395 kB / 352.1 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001781/0.01695, allocations: 88 kB / 352.2 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000658/0.01761, allocations: 315.5 kB / 352.5 MB, free: 12.51 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.01781, allocations: 211.3 kB / 352.7 MB, free: 12.3 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00039/0.0182, allocations: 315.2 kB / 353 MB, free: 11.99 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.01955, allocations: 0.8606 MB / 353.9 MB, free: 11.13 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.01955, allocations: 0 / 353.9 MB, free: 11.13 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.01955, allocations: 0 / 353.9 MB, free: 11.13 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.842e-05/0.01957, allocations: 0 / 353.9 MB, free: 11.13 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.00176/0.02133, allocations: 1.139 MB / 355 MB, free: 9.941 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.02138, allocations: 8.031 kB / 355.1 MB, free: 9.934 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002986/0.02168, allocations: 136.4 kB / 355.2 MB, free: 9.801 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006812/0.02236, allocations: 458.1 kB / 355.6 MB, free: 9.324 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.584e-05/0.0224, allocations: 45.69 kB / 355.7 MB, free: 9.281 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.0225, allocations: 64.06 kB / 355.7 MB, free: 9.219 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007759/0.02328, allocations: 0.5195 MB / 356.3 MB, free: 8.664 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.0233, allocations: 3.984 kB / 356.3 MB, free: 8.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.934e-05/0.02335, allocations: 24 kB / 356.3 MB, free: 8.637 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.02337, allocations: 12 kB / 356.3 MB, free: 8.625 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004675/0.02384, allocations: 251.9 kB / 356.5 MB, free: 8.371 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002899/0.02674, allocations: 1.817 MB / 358.4 MB, free: 6.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005707/0.02731, allocations: 278.1 kB / 358.6 MB, free: 6.207 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.02748, allocations: 117.3 kB / 358.7 MB, free: 6.082 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.629e-05/0.02755, allocations: 19.98 kB / 358.8 MB, free: 6.062 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.02759, allocations: 49.33 kB / 358.8 MB, free: 6.004 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 3.175e-06/0.02759, allocations: 4 kB / 358.8 MB, free: 6 MB / 282.7 MB Notification: Performance of matching and sorting (n=43): time 0.001972/0.02957, allocations: 0.9156 MB / 359.7 MB, free: 5.012 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.0296, allocations: 89.11 kB / 359.8 MB, free: 4.906 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003108/0.02991, allocations: 446.3 kB / 360.3 MB, free: 4.453 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.02995, allocations: 41.7 kB / 360.3 MB, free: 4.406 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000199/0.03014, allocations: 375.4 kB / 360.7 MB, free: 4.031 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.497e-05/0.03023, allocations: 154.7 kB / 360.8 MB, free: 3.879 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.03034, allocations: 99.77 kB / 360.9 MB, free: 3.773 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.03049, allocations: 0.5351 MB / 361.4 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.03064, allocations: 131.3 kB / 361.6 MB, free: 3.09 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.03082, allocations: 279.3 kB / 361.9 MB, free: 2.742 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/0.03119, allocations: 448.4 kB / 362.3 MB, free: 2.23 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.03119, allocations: 0 / 362.3 MB, free: 2.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0004542/0.03164, allocations: 444.1 kB / 362.7 MB, free: 1.773 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.03168, allocations: 33.7 kB / 362.8 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.03168, allocations: 4 kB / 362.8 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001351/0.03182, allocations: 91.62 kB / 362.8 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.03208, allocations: 103.9 kB / 362.9 MB, free: 1.535 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/0.03318, allocations: 2.052 MB / 365 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.03335, allocations: 35.91 kB / 365 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.03338, allocations: 19.98 kB / 365.1 MB, free: 15.32 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: 14 * Number of states: 0 () * Number of discrete variables: 9 (idealPump.mechanicalPumpLosses.mode,$PRE.idealPump.mechanicalPumpLosses.mode,idealPump.mechanicalPumpLosses.locked,idealPump.mechanicalPumpLosses.startBackward,$PRE.idealPump.mechanicalPumpLosses.startBackward,idealPump.mechanicalPumpLosses.startForward,$PRE.idealPump.mechanicalPumpLosses.startForward,idealPump.mechanicalPumpLosses.free,reliefValve.variableRestriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * 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.0002197/0.0336, allocations: 229.5 kB / 365.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.375e-05/0.03367, allocations: 71.61 kB / 365.4 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005605/0.03423, allocations: 415.5 kB / 365.8 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.03423, allocations: 4 kB / 365.8 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.03424, allocations: 3.984 kB / 365.8 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.03424, allocations: 0 / 365.8 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.03529, allocations: 0.9185 MB / 366.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.03529, allocations: 0 / 366.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/0.03551, allocations: 83.98 kB / 366.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001118/0.03562, allocations: 99.59 kB / 366.9 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/0.03565, allocations: 19.98 kB / 366.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009239/0.03657, allocations: 1.811 MB / 368.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.03658, allocations: 15.86 kB / 368.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000575/0.03715, allocations: 0.6357 MB / 369.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.03729, allocations: 95.61 kB / 369.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/0.03733, allocations: 16 kB / 369.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.03749, allocations: 27.97 kB / 369.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/0.03765, allocations: 119.6 kB / 369.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.03767, allocations: 11.98 kB / 369.6 MB, free: 10.49 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000171/0.03784, allocations: 291 kB / 369.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.03784, allocations: 0 / 369.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004779/0.03832, allocations: 207.7 kB / 370.1 MB, free: 10 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.0008181/0.03913, allocations: 426.2 kB / 370.5 MB, free: 9.699 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005029/0.03964, allocations: 0.5305 MB / 371 MB, free: 9.125 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.03964, allocations: 0 / 371 MB, free: 9.125 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002596/0.0399, allocations: 398.3 kB / 371.4 MB, free: 8.695 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.0403, allocations: 150.6 kB / 371.6 MB, free: 8.551 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.04194, allocations: 1.194 MB / 372.8 MB, free: 7.305 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.04205, allocations: 158.7 kB / 372.9 MB, free: 7.129 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.00019/0.04224, allocations: 72.41 kB / 373 MB, free: 7.059 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002591/0.0425, allocations: 210.1 kB / 373.2 MB, free: 6.852 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.0425, allocations: 0 / 373.2 MB, free: 6.852 MB / 298.7 MB Notification: Performance of Templates: time 0.01267/0.05517, allocations: 10.86 MB / 384.1 MB, free: 12.16 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: 2.940164146013558]