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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest") translateModel(OpenHydraulics.DevelopmentTests.ReliefValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 110 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 188.3 kB / 17.35 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.28/1.28, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05728/0.05728, allocations: 11.84 MB / 282.4 MB, free: 228 kB / 222.1 MB 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.001488/0.001488, allocations: 68.97 kB / 393 MB, free: 45.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06438/0.06588, allocations: 49.23 MB / 442.2 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ReliefValveTest): time 0.004788/0.07069, allocations: 4.419 MB / 446.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00367/0.07438, allocations: 2.688 MB / 449.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002869/0.07469, allocations: 11.94 kB / 449.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004343/0.07516, allocations: 158.8 kB / 449.5 MB, free: 10.77 MB / 334.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.0006719/0.07584, allocations: 345.7 kB / 449.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.07693, allocations: 0.5724 MB / 450.4 MB, free: 9.859 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009608/0.0779, allocations: 1.094 MB / 451.5 MB, free: 8.762 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004278/0.07833, allocations: 332.6 kB / 451.8 MB, free: 8.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000417/0.07876, allocations: 406.7 kB / 452.2 MB, free: 8.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004875/0.07926, allocations: 446.1 kB / 452.7 MB, free: 7.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.07939, allocations: 84 kB / 452.8 MB, free: 7.512 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004937/0.07989, allocations: 307.8 kB / 453.1 MB, free: 7.211 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.08008, allocations: 199.3 kB / 453.3 MB, free: 7.016 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003918/0.08048, allocations: 446 kB / 453.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.08171, allocations: 1.183 MB / 454.9 MB, free: 5.391 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.08173, allocations: 0 / 454.9 MB, free: 5.391 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.08174, allocations: 4 kB / 454.9 MB, free: 5.387 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.08175, allocations: 0 / 454.9 MB, free: 5.387 MB / 334.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.001767/0.08352, allocations: 1.107 MB / 456 MB, free: 4.219 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.08357, allocations: 15.89 kB / 456 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/0.08378, allocations: 88.36 kB / 456.1 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006559/0.08444, allocations: 0.4981 MB / 456.6 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.112e-05/0.0845, allocations: 49.25 kB / 456.6 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.691e-05/0.0846, allocations: 63.94 kB / 456.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.08571, allocations: 0.6869 MB / 457.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.08574, allocations: 0 / 457.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.764e-05/0.08581, allocations: 28 kB / 457.4 MB, free: 2.738 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.08583, allocations: 12 kB / 457.4 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009831/0.08682, allocations: 0.5439 MB / 458 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004007/0.09083, allocations: 3.391 MB / 461.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009307/0.09178, allocations: 0.4991 MB / 461.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003507/0.09214, allocations: 200.6 kB / 462.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001293/0.09228, allocations: 97.09 kB / 462.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.09232, allocations: 34.56 kB / 462.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.304e-06/0.09233, allocations: 0 / 462.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.003081/0.09541, allocations: 1.466 MB / 463.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.09546, allocations: 89.05 kB / 463.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000654/0.09612, allocations: 0.5654 MB / 464.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.442e-05/0.09618, allocations: 37.7 kB / 464.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.0964, allocations: 317.2 kB / 464.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.09653, allocations: 150.7 kB / 464.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.0967, allocations: 98.19 kB / 464.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.09686, allocations: 374.7 kB / 465.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003442/0.09721, allocations: 182.9 kB / 465.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003848/0.0976, allocations: 269.9 kB / 465.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002958/0.1006, allocations: 1.041 MB / 466.7 MB, free: 8.734 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1006, allocations: 0 / 466.7 MB, free: 8.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001017/0.1016, allocations: 0.5878 MB / 467.3 MB, free: 8.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.528e-05/0.1017, allocations: 33.7 kB / 467.4 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.1017, allocations: 4 kB / 467.4 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001975/0.1019, allocations: 92.83 kB / 467.5 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004471/0.1023, allocations: 91.89 kB / 467.5 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/0.1041, allocations: 1.787 MB / 469.3 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004123/0.1045, allocations: 43.89 kB / 469.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.535e-05/0.1046, allocations: 20 kB / 469.4 MB, free: 5.914 MB / 350.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.0003803/0.105, allocations: 285.1 kB / 469.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.1051, allocations: 59.62 kB / 469.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.1062, allocations: 0.553 MB / 470.3 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.1062, allocations: 0 / 470.3 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.1062, allocations: 3.984 kB / 470.3 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002384/0.1065, allocations: 192.6 kB / 470.5 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.1066, allocations: 23.94 kB / 470.5 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004018/0.107, allocations: 39.89 kB / 470.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.1071, allocations: 47.92 kB / 470.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001247/0.1084, allocations: 0.6232 MB / 471.2 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001209/0.1096, allocations: 0.8492 MB / 472.1 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003225/0.1099, allocations: 191.7 kB / 472.2 MB, free: 2.969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004683/0.1104, allocations: 414.8 kB / 472.6 MB, free: 2.566 MB / 350.1 MB Notification: Performance of Backend: time 5.11e-07/0.1104, allocations: 0 / 472.6 MB, free: 2.566 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002096/0.1125, allocations: 0.8904 MB / 473.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of SimCode: time 0.002248/0.1148, allocations: 1.862 MB / 475.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of Templates: time 0.01836/0.1331, allocations: 11.81 MB / 487.2 MB, free: 4.051 MB / 366.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.makefile (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 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.pipe 2>&1)