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.001476/0.001476, allocations: 114.3 kB / 16.42 MB, free: 6.492 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.001616/0.001616, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.349/1.349, 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.05435/0.05435, allocations: 11.84 MB / 282.4 MB, free: 232 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.00147/0.00147, allocations: 73.67 kB / 393 MB, free: 45.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07067/0.07215, allocations: 49.24 MB / 442.2 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ReliefValveTest): time 0.004688/0.07687, allocations: 4.401 MB / 446.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003473/0.08037, allocations: 2.7 MB / 449.4 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002552/0.08066, allocations: 11.94 kB / 449.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004085/0.08108, allocations: 150.8 kB / 449.5 MB, free: 10.78 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.0006605/0.08175, allocations: 345.8 kB / 449.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.08283, allocations: 0.5724 MB / 450.4 MB, free: 9.863 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000958/0.0838, allocations: 1.102 MB / 451.5 MB, free: 8.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004377/0.08425, allocations: 324.6 kB / 451.8 MB, free: 8.434 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000412/0.08467, allocations: 406.7 kB / 452.2 MB, free: 8.035 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004862/0.08516, allocations: 446.1 kB / 452.7 MB, free: 7.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.08528, allocations: 84 kB / 452.8 MB, free: 7.516 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004804/0.08577, allocations: 307.8 kB / 453.1 MB, free: 7.215 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.08596, allocations: 199.3 kB / 453.2 MB, free: 7.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003947/0.08637, allocations: 442 kB / 453.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.08758, allocations: 1.176 MB / 454.9 MB, free: 5.406 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.0876, allocations: 0 / 454.9 MB, free: 5.406 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.08761, allocations: 0 / 454.9 MB, free: 5.406 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.08762, allocations: 0 / 454.9 MB, free: 5.406 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.0018/0.08943, allocations: 1.089 MB / 455.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.08948, allocations: 11.89 kB / 456 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001998/0.08969, allocations: 84 kB / 456 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006912/0.09039, allocations: 0.5054 MB / 456.5 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.982e-05/0.09044, allocations: 45.25 kB / 456.6 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.225e-05/0.09054, allocations: 56 kB / 456.6 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.09164, allocations: 0.6869 MB / 457.3 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.09167, allocations: 3.906 kB / 457.3 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.757e-05/0.09173, allocations: 32 kB / 457.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.378e-05/0.09179, allocations: 12 kB / 457.4 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009135/0.09271, allocations: 0.54 MB / 457.9 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003909/0.09663, allocations: 3.382 MB / 461.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008884/0.09754, allocations: 0.5037 MB / 461.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003426/0.09789, allocations: 204.2 kB / 462 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.09802, allocations: 93.08 kB / 462.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.09805, allocations: 42.5 kB / 462.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.705e-06/0.09806, allocations: 4 kB / 462.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002938/0.101, allocations: 1.446 MB / 463.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.1011, allocations: 85.11 kB / 463.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006406/0.1017, allocations: 0.5692 MB / 464.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.458e-05/0.1018, allocations: 45.62 kB / 464.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/0.1021, allocations: 304.7 kB / 464.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.1022, allocations: 153.9 kB / 464.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.1024, allocations: 94.16 kB / 464.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1025, allocations: 370.7 kB / 465.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003188/0.1029, allocations: 186.9 kB / 465.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003791/0.1033, allocations: 266 kB / 465.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002789/0.1061, allocations: 1.041 MB / 466.7 MB, free: 8.801 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.1061, allocations: 4 kB / 466.7 MB, free: 8.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009806/0.1071, allocations: 0.5761 MB / 467.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.399e-05/0.1071, allocations: 36.52 kB / 467.3 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.1071, allocations: 4 kB / 467.3 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001942/0.1073, allocations: 96.81 kB / 467.4 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004111/0.1077, allocations: 99.88 kB / 467.5 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/0.1095, allocations: 1.775 MB / 469.3 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004114/0.1099, allocations: 43.95 kB / 469.3 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.951e-05/0.11, allocations: 20 kB / 469.3 MB, free: 5.988 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.0003927/0.1104, allocations: 278.3 kB / 469.6 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.1105, allocations: 59.25 kB / 469.6 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.1116, allocations: 0.5414 MB / 470.2 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/0.1116, allocations: 8.062 kB / 470.2 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1116, allocations: 4 kB / 470.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002238/0.1118, allocations: 192.2 kB / 470.4 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.1119, allocations: 23.98 kB / 470.4 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000396/0.1123, allocations: 39.89 kB / 470.4 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.1125, allocations: 43.94 kB / 470.5 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001224/0.1137, allocations: 0.627 MB / 471.1 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001174/0.1149, allocations: 0.8411 MB / 472 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003076/0.1152, allocations: 191.7 kB / 472.1 MB, free: 3.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000443/0.1156, allocations: 414.8 kB / 472.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of Backend: time 2.71e-07/0.1156, allocations: 0 / 472.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001981/0.1176, allocations: 0.8912 MB / 473.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of SimCode: time 0.002162/0.1198, allocations: 1.844 MB / 475.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of Templates: time 0.01809/0.1379, allocations: 11.82 MB / 487.1 MB, free: 4.152 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)