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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 106.6 kB / 18.32 MB, free: 3.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 197.9 kB / 21.51 MB, free: 0.7969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 207.6 MB / 232.1 MB, free: 11.12 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0615/0.0615, allocations: 12 MB / 296.2 MB, free: 10.4 MB / 238.1 MB " [Timeout remaining time 180] 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=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: 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.002257/0.002257, allocations: 75.89 kB / 415.1 MB, free: 42.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06792/0.07017, allocations: 51.9 MB / 467 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ReliefValveTest): time 0.006192/0.07637, allocations: 4.46 MB / 471.4 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004124/0.08049, allocations: 2.731 MB / 474.2 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002271/0.08072, allocations: 11.94 kB / 474.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004624/0.08118, allocations: 150.8 kB / 474.3 MB, free: 15.6 MB / 350.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.0007201/0.0819, allocations: 345.7 kB / 474.7 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.08304, allocations: 0.5724 MB / 475.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00117/0.08421, allocations: 1.105 MB / 476.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003496/0.08456, allocations: 196.6 kB / 476.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004877/0.08505, allocations: 398.7 kB / 476.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005867/0.08563, allocations: 454.2 kB / 477.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.08575, allocations: 84 kB / 477.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005174/0.08627, allocations: 307.8 kB / 477.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002084/0.08647, allocations: 203.3 kB / 477.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004449/0.08692, allocations: 438 kB / 478.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.08831, allocations: 1.187 MB / 479.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.08831, allocations: 0 / 479.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.08831, allocations: 0 / 479.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.08833, allocations: 0 / 479.6 MB, free: 10.34 MB / 350.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.00194/0.09027, allocations: 1.107 MB / 480.7 MB, free: 9.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.0903, allocations: 15.83 kB / 480.7 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002206/0.09052, allocations: 88.42 kB / 480.8 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007438/0.09126, allocations: 0.502 MB / 481.3 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.604e-05/0.09131, allocations: 49.25 kB / 481.3 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.09143, allocations: 67.88 kB / 481.4 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.0927, allocations: 0.683 MB / 482.1 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.09272, allocations: 0 / 482.1 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.267e-05/0.09279, allocations: 24 kB / 482.1 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.0928, allocations: 12 kB / 482.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.09388, allocations: 0.54 MB / 482.6 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004661/0.09854, allocations: 3.395 MB / 486 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.09955, allocations: 484 kB / 486.5 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003721/0.09992, allocations: 180.8 kB / 486.7 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.1, allocations: 89.09 kB / 486.8 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.1001, allocations: 38.56 kB / 486.8 MB, free: 2.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.873e-06/0.1001, allocations: 0 / 486.8 MB, free: 2.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.003378/0.1035, allocations: 1.476 MB / 488.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.1035, allocations: 81.11 kB / 488.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007542/0.1043, allocations: 0.5693 MB / 488.9 MB, free: 312 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.051e-05/0.1043, allocations: 37.7 kB / 489 MB, free: 268 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002746/0.1046, allocations: 313.3 kB / 489.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.1047, allocations: 154.7 kB / 489.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.1049, allocations: 98.19 kB / 489.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.1051, allocations: 366.8 kB / 489.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003785/0.1055, allocations: 190.8 kB / 490.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004424/0.106, allocations: 269.9 kB / 490.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003151/0.1091, allocations: 1.056 MB / 491.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1091, allocations: 0 / 491.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001129/0.1102, allocations: 0.5723 MB / 492 MB, free: 13.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.32e-05/0.1103, allocations: 42.98 kB / 492 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.1103, allocations: 4.375 kB / 492 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002172/0.1105, allocations: 96.81 kB / 492.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004636/0.111, allocations: 95.89 kB / 492.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002134/0.1131, allocations: 1.779 MB / 494 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000436/0.1135, allocations: 51.98 kB / 494 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.48e-05/0.1136, allocations: 20 kB / 494 MB, free: 10.89 MB / 366.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.000431/0.114, allocations: 266.4 kB / 494.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.1141, allocations: 59.62 kB / 494.4 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.1153, allocations: 0.5492 MB / 494.9 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/0.1153, allocations: 7.938 kB / 494.9 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.1153, allocations: 0 / 494.9 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.1153, allocations: 3.984 kB / 494.9 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/0.1175, allocations: 1.289 MB / 496.2 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.1176, allocations: 4 kB / 496.2 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004587/0.118, allocations: 83.98 kB / 496.3 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001724/0.1182, allocations: 80.81 kB / 496.4 MB, free: 8.449 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.383e-05/0.1182, allocations: 19.98 kB / 496.4 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/0.12, allocations: 1.586 MB / 498 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.12, allocations: 7.969 kB / 498 MB, free: 6.699 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.1214, allocations: 0.8118 MB / 498.8 MB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002819/0.1217, allocations: 192.7 kB / 499 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.1218, allocations: 20.06 kB / 499 MB, free: 5.629 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003966/0.1222, allocations: 35.95 kB / 499 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002705/0.1225, allocations: 123.8 kB / 499.2 MB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.809e-05/0.1225, allocations: 16 kB / 499.2 MB, free: 5.457 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005676/0.1231, allocations: 418.8 kB / 499.6 MB, free: 5.051 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1231, allocations: 4 kB / 499.6 MB, free: 5.047 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007182/0.1238, allocations: 191.8 kB / 499.8 MB, free: 4.859 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.001532/0.1253, allocations: 457.5 kB / 0.4885 GB, free: 4.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001148/0.1265, allocations: 0.5625 MB / 0.4891 GB, free: 3.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1265, allocations: 0 / 0.4891 GB, free: 3.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005792/0.1271, allocations: 370.8 kB / 0.4894 GB, free: 3.543 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009308/0.128, allocations: 189.5 kB / 0.4896 GB, free: 3.355 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.1304, allocations: 1.337 MB / 0.4909 GB, free: 1.977 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006485/0.1311, allocations: 0.9259 MB / 0.4918 GB, free: 1.016 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003496/0.1314, allocations: 89.02 kB / 0.4919 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.1316, allocations: 51.42 kB / 0.4919 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of SimCode: time 1.002e-06/0.1316, allocations: 4 kB / 0.4919 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of Templates: time 0.02241/0.154, allocations: 12.1 MB / 0.5037 GB, free: 4.785 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 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.43866222599172]