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.0008927/0.0008927, allocations: 84.53 kB / 19.93 MB, free: 4.605 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.0008804/0.0008804, allocations: 177.9 kB / 23.21 MB, free: 1.324 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.9339/0.9339, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.03465/0.03465, allocations: 8.7 MB / 268.6 MB, free: 4.758 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.342e-06/1.342e-06, allocations: 0 / 395.4 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.562e-05/1.696e-05, allocations: 2.281 kB / 395.4 MB, free: 1.527 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ReliefValveTest): time 0.00355/0.003567, allocations: 4.039 MB / 399.5 MB, free: 13.46 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002623/0.00619, allocations: 2.831 MB / 402.3 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001992/0.006389, allocations: 15.88 kB / 402.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003627/0.006752, allocations: 150.8 kB / 402.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005276/0.007279, allocations: 397.3 kB / 402.8 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00071/0.007989, allocations: 0.6186 MB / 403.5 MB, free: 9.449 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007077/0.008697, allocations: 1.171 MB / 404.6 MB, free: 8.273 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002649/0.008962, allocations: 201.2 kB / 404.8 MB, free: 8.07 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004995/0.009461, allocations: 0.6003 MB / 405.4 MB, free: 7.469 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000347/0.009808, allocations: 371 kB / 405.8 MB, free: 7.105 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.678e-05/0.009885, allocations: 84 kB / 405.9 MB, free: 7.023 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003438/0.01023, allocations: 311.7 kB / 406.2 MB, free: 6.719 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.01037, allocations: 211.2 kB / 406.4 MB, free: 6.512 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002131/0.01058, allocations: 311.3 kB / 406.7 MB, free: 6.207 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.0116, allocations: 1.266 MB / 408 MB, free: 4.938 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.0116, allocations: 0 / 408 MB, free: 4.938 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.0116, allocations: 4 kB / 408 MB, free: 4.934 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.01161, allocations: 0 / 408 MB, free: 4.934 MB / 330.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.001162/0.01277, allocations: 1.028 MB / 409 MB, free: 3.863 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.01281, allocations: 8.031 kB / 409 MB, free: 3.855 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.01295, allocations: 96.42 kB / 409.1 MB, free: 3.762 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005081/0.01346, allocations: 467.2 kB / 409.5 MB, free: 3.277 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/0.01349, allocations: 45.69 kB / 409.6 MB, free: 3.234 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.56e-05/0.01355, allocations: 60.08 kB / 409.7 MB, free: 3.176 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007741/0.01433, allocations: 0.7372 MB / 410.4 MB, free: 2.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.01434, allocations: 0 / 410.4 MB, free: 2.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.884e-05/0.01438, allocations: 28 kB / 410.4 MB, free: 2.383 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.01439, allocations: 12 kB / 410.4 MB, free: 2.371 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006677/0.01506, allocations: 0.5807 MB / 411 MB, free: 1.785 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1315/0.1465, allocations: 1.876 MB / 412.9 MB, free: 28.51 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000769/0.1473, allocations: 434.8 kB / 413.3 MB, free: 28.46 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.1475, allocations: 210.5 kB / 413.5 MB, free: 28.42 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.501e-05/0.1476, allocations: 11.39 kB / 413.5 MB, free: 28.42 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.1476, allocations: 38.61 kB / 413.6 MB, free: 28.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 2.585e-06/0.1476, allocations: 1.312 kB / 413.6 MB, free: 28.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.002136/0.1497, allocations: 1.373 MB / 414.9 MB, free: 27.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.1498, allocations: 90.03 kB / 415 MB, free: 27.62 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003835/0.1502, allocations: 464 kB / 415.5 MB, free: 27.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.1502, allocations: 38.58 kB / 415.5 MB, free: 27.37 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.1503, allocations: 324.8 kB / 415.8 MB, free: 27.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.793e-05/0.1504, allocations: 157.9 kB / 416 MB, free: 27.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.1505, allocations: 93.08 kB / 416.1 MB, free: 26.99 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.772e-05/0.1506, allocations: 361.3 kB / 416.4 MB, free: 26.65 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.1508, allocations: 210.8 kB / 416.6 MB, free: 26.54 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002505/0.151, allocations: 331.4 kB / 417 MB, free: 26.28 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/0.1526, allocations: 1.076 MB / 418 MB, free: 25.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1526, allocations: 2.531 kB / 418 MB, free: 25.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006349/0.1533, allocations: 0.6068 MB / 418.6 MB, free: 25.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.1533, allocations: 32.42 kB / 418.7 MB, free: 25.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.1533, allocations: 11.98 kB / 418.7 MB, free: 25.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001596/0.1534, allocations: 124.1 kB / 418.8 MB, free: 25.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.1537, allocations: 102.5 kB / 418.9 MB, free: 25.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009509/0.1546, allocations: 1.648 MB / 420.6 MB, free: 23.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.1548, allocations: 50.39 kB / 420.6 MB, free: 23.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.1549, allocations: 21.38 kB / 420.6 MB, free: 23.84 MB / 330.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.0002751/0.1551, allocations: 280.2 kB / 420.9 MB, free: 23.62 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.656e-05/0.1552, allocations: 59.47 kB / 421 MB, free: 23.58 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006739/0.1559, allocations: 0.5681 MB / 421.5 MB, free: 23.28 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.1559, allocations: 9.438 kB / 421.5 MB, free: 23.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.1559, allocations: 96 / 421.5 MB, free: 23.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1559, allocations: 6.047 kB / 421.5 MB, free: 23.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.157, allocations: 1.129 MB / 422.7 MB, free: 22.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1571, allocations: 5.25 kB / 422.7 MB, free: 22.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.1573, allocations: 85.84 kB / 422.8 MB, free: 22.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001196/0.1574, allocations: 107.2 kB / 422.9 MB, free: 22.54 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.1574, allocations: 15.73 kB / 422.9 MB, free: 22.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007499/0.1582, allocations: 1.468 MB / 424.3 MB, free: 21.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1582, allocations: 1.594 kB / 424.3 MB, free: 21.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007924/0.159, allocations: 0.8756 MB / 425.2 MB, free: 20.64 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.1591, allocations: 99.77 kB / 425.3 MB, free: 20.58 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/0.1591, allocations: 16.03 kB / 425.3 MB, free: 20.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.1593, allocations: 39.44 kB / 425.4 MB, free: 20.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/0.1595, allocations: 133.1 kB / 425.5 MB, free: 20.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.1595, allocations: 16.84 kB / 425.5 MB, free: 20.53 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002507/0.1598, allocations: 325.9 kB / 425.8 MB, free: 20.38 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-07/0.1598, allocations: 1.25 kB / 425.8 MB, free: 20.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004753/0.1603, allocations: 199.7 kB / 426 MB, free: 20.36 MB / 330.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.0009559/0.1612, allocations: 481.7 kB / 426.5 MB, free: 20.19 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007389/0.162, allocations: 0.6219 MB / 427.1 MB, free: 19.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.162, allocations: 0 / 427.1 MB, free: 19.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003257/0.1623, allocations: 397.8 kB / 427.5 MB, free: 19.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004851/0.1628, allocations: 142.1 kB / 427.7 MB, free: 19.45 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.1643, allocations: 1.264 MB / 428.9 MB, free: 18.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.1646, allocations: 324.8 kB / 429.2 MB, free: 18.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.1647, allocations: 53.45 kB / 429.3 MB, free: 18.55 MB / 330.7 MB Notification: Performance of SimCode: time 7.41e-07/0.1647, allocations: 0 / 429.3 MB, free: 18.55 MB / 330.7 MB Notification: Performance of Templates: time 0.00986/0.1745, allocations: 12.48 MB / 441.8 MB, free: 11.54 MB / 330.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 > OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.524823694955558]