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.0009578/0.0009578, allocations: 73.88 kB / 20.65 MB, free: 3.84 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.0009463/0.0009463, allocations: 169 kB / 24.06 MB, free: 448 kB / 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.9182/0.9182, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.03362/0.03362, allocations: 8.71 MB / 269.8 MB, free: 4.383 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.563e-06/1.563e-06, allocations: 3.938 kB / 342.1 MB, free: 7.777 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.296e-05/1.452e-05, allocations: 9.125 kB / 342.1 MB, free: 7.77 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ReliefValveTest): time 0.003034/0.003048, allocations: 4.36 MB / 346.5 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002486/0.005534, allocations: 2.936 MB / 349.4 MB, free: 444 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002356/0.00577, allocations: 11.94 kB / 349.4 MB, free: 432 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.006102, allocations: 154.8 kB / 349.6 MB, free: 276 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005372/0.006639, allocations: 421.1 kB / 350 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008273/0.007467, allocations: 0.6112 MB / 350.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007344/0.008201, allocations: 1.159 MB / 351.7 MB, free: 14.08 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002395/0.008441, allocations: 205.1 kB / 351.9 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004935/0.008934, allocations: 0.6042 MB / 352.5 MB, free: 13.27 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003646/0.009299, allocations: 399 kB / 352.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.202e-05/0.009371, allocations: 84 kB / 353 MB, free: 12.8 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003347/0.009705, allocations: 315.6 kB / 353.3 MB, free: 12.49 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.009836, allocations: 207.3 kB / 353.5 MB, free: 12.29 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.01004, allocations: 319.2 kB / 353.8 MB, free: 11.97 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007037/0.01075, allocations: 0.8567 MB / 354.7 MB, free: 11.11 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.01075, allocations: 0 / 354.7 MB, free: 11.11 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.01075, allocations: 0 / 354.7 MB, free: 11.11 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.01075, allocations: 0 / 354.7 MB, free: 11.11 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.001038/0.01179, allocations: 1.135 MB / 355.8 MB, free: 9.93 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.01182, allocations: 16.03 kB / 355.8 MB, free: 9.914 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.01199, allocations: 132.4 kB / 356 MB, free: 9.785 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.0124, allocations: 458.1 kB / 356.4 MB, free: 9.309 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.01243, allocations: 45.69 kB / 356.5 MB, free: 9.266 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.705e-05/0.0125, allocations: 72.02 kB / 356.5 MB, free: 9.195 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000481/0.01298, allocations: 0.504 MB / 357 MB, free: 8.656 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.013, allocations: 7.984 kB / 357 MB, free: 8.648 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.457e-05/0.01303, allocations: 28 kB / 357.1 MB, free: 8.621 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.01304, allocations: 15.98 kB / 357.1 MB, free: 8.605 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002866/0.01333, allocations: 251.9 kB / 357.3 MB, free: 8.352 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.01512, allocations: 1.816 MB / 359.1 MB, free: 6.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003676/0.01549, allocations: 279.7 kB / 359.4 MB, free: 6.188 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.0156, allocations: 125.3 kB / 359.5 MB, free: 6.055 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.697e-05/0.01565, allocations: 12 kB / 359.6 MB, free: 6.043 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.01567, allocations: 49.31 kB / 359.6 MB, free: 5.984 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 1.332e-06/0.01567, allocations: 4 kB / 359.6 MB, free: 5.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=43): time 0.00129/0.01696, allocations: 0.9196 MB / 360.5 MB, free: 4.988 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.01699, allocations: 81.11 kB / 360.6 MB, free: 4.891 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.01724, allocations: 446.4 kB / 361 MB, free: 4.438 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.01727, allocations: 37.7 kB / 361.1 MB, free: 4.395 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.01744, allocations: 383.4 kB / 361.5 MB, free: 4.012 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.043e-05/0.01752, allocations: 154.7 kB / 361.6 MB, free: 3.859 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.966e-05/0.01762, allocations: 103.8 kB / 361.7 MB, free: 3.75 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.01774, allocations: 0.539 MB / 362.2 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.01787, allocations: 119.3 kB / 362.4 MB, free: 3.074 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.01803, allocations: 276 kB / 362.6 MB, free: 2.727 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003417/0.01838, allocations: 440.4 kB / 363.1 MB, free: 2.223 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.01838, allocations: 0 / 363.1 MB, free: 2.223 MB / 282.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0004266/0.0188, allocations: 448 kB / 363.5 MB, free: 1.762 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.01883, allocations: 33.69 kB / 363.5 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.01884, allocations: 4 kB / 363.5 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001321/0.01897, allocations: 100 kB / 363.6 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.01919, allocations: 103.8 kB / 363.7 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009713/0.02017, allocations: 2.044 MB / 365.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.02033, allocations: 36.03 kB / 365.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.02036, allocations: 16 kB / 365.8 MB, free: 15.31 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.0001919/0.02055, allocations: 240.6 kB / 366.1 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.227e-05/0.02062, allocations: 67.61 kB / 366.1 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004465/0.02107, allocations: 415.5 kB / 366.5 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.02107, allocations: 4 kB / 366.5 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.02107, allocations: 7.938 kB / 366.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.02108, allocations: 0 / 366.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008872/0.02196, allocations: 0.9147 MB / 367.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.02197, allocations: 0 / 367.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.02217, allocations: 87.89 kB / 367.5 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001037/0.02227, allocations: 95.69 kB / 367.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.02229, allocations: 15.98 kB / 367.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008018/0.02309, allocations: 1.826 MB / 369.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.0231, allocations: 7.922 kB / 369.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005298/0.02363, allocations: 0.6317 MB / 370.1 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.02374, allocations: 103.6 kB / 370.2 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.494e-05/0.02379, allocations: 12 kB / 370.2 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.02394, allocations: 36 kB / 370.3 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.02409, allocations: 119.6 kB / 370.4 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.02411, allocations: 12 kB / 370.4 MB, free: 10.46 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001504/0.02426, allocations: 283 kB / 370.7 MB, free: 10.19 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02426, allocations: 0 / 370.7 MB, free: 10.19 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004293/0.02469, allocations: 203.7 kB / 370.9 MB, free: 9.992 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.0007311/0.02542, allocations: 442.3 kB / 371.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004634/0.02588, allocations: 0.5271 MB / 371.8 MB, free: 9.102 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.02588, allocations: 0 / 371.8 MB, free: 9.102 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002455/0.02613, allocations: 394.4 kB / 372.2 MB, free: 8.676 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.02651, allocations: 143.6 kB / 372.4 MB, free: 8.535 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.0279, allocations: 1.186 MB / 373.5 MB, free: 7.293 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.519e-05/0.02799, allocations: 162.7 kB / 373.7 MB, free: 7.113 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001643/0.02816, allocations: 72.42 kB / 373.8 MB, free: 7.043 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002491/0.0284, allocations: 210.1 kB / 374 MB, free: 6.836 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02841, allocations: 0 / 374 MB, free: 6.836 MB / 298.7 MB Notification: Performance of Templates: time 0.01203/0.04043, allocations: 11.03 MB / 385 MB, free: 11.93 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.901433721650392]