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.0009845/0.0009845, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.0009484/0.0009484, allocations: 177 kB / 23.36 MB, free: 1.137 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.932/0.932, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.04404/0.04404, allocations: 8.72 MB / 269 MB, free: 4.414 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.243e-06/1.243e-06, allocations: 0 / 288 MB, free: 1.355 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022e-05/1.146e-05, allocations: 6.312 kB / 288 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ReliefValveTest): time 0.09775/0.09776, allocations: 4.36 MB / 292.4 MB, free: 18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003158/0.1009, allocations: 3.007 MB / 295.4 MB, free: 16.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002506/0.1012, allocations: 12.19 kB / 295.4 MB, free: 16.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003766/0.1015, allocations: 159.7 kB / 295.6 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006197/0.1022, allocations: 406.8 kB / 296 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009527/0.1031, allocations: 0.6181 MB / 296.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007962/0.1039, allocations: 1.158 MB / 297.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002503/0.1042, allocations: 208.4 kB / 298 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006177/0.1048, allocations: 0.6068 MB / 298.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004303/0.1052, allocations: 397.4 kB / 299 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.479e-05/0.1053, allocations: 85.81 kB / 299 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004054/0.1057, allocations: 311.7 kB / 299.3 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.1058, allocations: 217.2 kB / 299.6 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00026/0.1061, allocations: 320.7 kB / 299.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007912/0.1069, allocations: 0.8546 MB / 300.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1069, allocations: 0.7031 kB / 300.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1069, allocations: 1.875 kB / 300.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.1069, allocations: 0 / 300.7 MB, free: 13.55 MB / 266.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.001089/0.108, allocations: 0.995 MB / 301.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.108, allocations: 9.812 kB / 301.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001933/0.1082, allocations: 115 kB / 301.8 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003905/0.1086, allocations: 344.8 kB / 302.2 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.1086, allocations: 44.91 kB / 302.2 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.317e-05/0.1087, allocations: 66.52 kB / 302.3 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004567/0.1092, allocations: 0.5246 MB / 302.8 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.1092, allocations: 1.375 kB / 302.8 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.375e-05/0.1092, allocations: 25.5 kB / 302.8 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.1092, allocations: 15.19 kB / 302.8 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002841/0.1095, allocations: 233.5 kB / 303.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.1111, allocations: 1.37 MB / 304.4 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003301/0.1114, allocations: 251.3 kB / 304.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.76e-05/0.1115, allocations: 103.7 kB / 304.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.922e-05/0.1116, allocations: 20.3 kB / 304.8 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.554e-05/0.1116, allocations: 41.25 kB / 304.9 MB, free: 10.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 1.533e-06/0.1116, allocations: 0 / 304.9 MB, free: 10.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001213/0.1128, allocations: 0.8416 MB / 305.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.761e-05/0.1128, allocations: 86.41 kB / 305.8 MB, free: 10.28 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.1131, allocations: 394.5 kB / 306.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.1131, allocations: 38.14 kB / 306.2 MB, free: 9.984 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.037e-05/0.1132, allocations: 278.8 kB / 306.5 MB, free: 9.742 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.344e-05/0.1132, allocations: 152.4 kB / 306.6 MB, free: 9.609 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.033e-05/0.1133, allocations: 99.86 kB / 306.7 MB, free: 9.539 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.439e-05/0.1134, allocations: 371.1 kB / 307.1 MB, free: 9.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.1135, allocations: 107.7 kB / 307.2 MB, free: 9.117 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.1136, allocations: 226.9 kB / 307.4 MB, free: 8.898 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.1139, allocations: 405 kB / 307.8 MB, free: 8.594 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1139, allocations: 6.281 kB / 307.8 MB, free: 8.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0003111/0.1142, allocations: 352 kB / 308.2 MB, free: 8.398 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.1142, allocations: 33.14 kB / 308.2 MB, free: 8.367 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1142, allocations: 2 kB / 308.2 MB, free: 8.367 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001217/0.1143, allocations: 95.22 kB / 308.3 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.1146, allocations: 103.8 kB / 308.4 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005713/0.1151, allocations: 1.393 MB / 309.8 MB, free: 6.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.1153, allocations: 27.97 kB / 309.8 MB, free: 6.699 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.1153, allocations: 19.98 kB / 309.8 MB, free: 6.68 MB / 266.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.0001493/0.1154, allocations: 193.5 kB / 310 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-05/0.1155, allocations: 47.95 kB / 310.1 MB, free: 6.434 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003346/0.1158, allocations: 365.2 kB / 310.4 MB, free: 6.062 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.1158, allocations: 4 kB / 310.4 MB, free: 6.059 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.1158, allocations: 0 / 310.4 MB, free: 6.059 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.1158, allocations: 3.984 kB / 310.4 MB, free: 6.055 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006579/0.1165, allocations: 0.6817 MB / 311.1 MB, free: 5.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-06/0.1165, allocations: 4 kB / 311.1 MB, free: 5.316 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.1167, allocations: 87.98 kB / 311.2 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.312e-05/0.1168, allocations: 82.39 kB / 311.3 MB, free: 5.152 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.1168, allocations: 15.98 kB / 311.3 MB, free: 5.137 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004501/0.1172, allocations: 1.241 MB / 312.5 MB, free: 3.812 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1172, allocations: 0 / 312.5 MB, free: 3.812 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003566/0.1176, allocations: 0.5197 MB / 313.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.671e-05/0.1177, allocations: 67.58 kB / 313.1 MB, free: 3.176 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.1177, allocations: 15.98 kB / 313.1 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.1179, allocations: 23.98 kB / 313.2 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.118, allocations: 115.7 kB / 313.3 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.118, allocations: 15.98 kB / 313.3 MB, free: 3.008 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001076/0.1181, allocations: 167.5 kB / 313.4 MB, free: 2.844 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1181, allocations: 4 kB / 313.5 MB, free: 2.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005046/0.1186, allocations: 195.8 kB / 313.6 MB, free: 2.648 MB / 266.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.001166/0.1198, allocations: 0.5367 MB / 314.2 MB, free: 2.371 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004545/0.1203, allocations: 458 kB / 314.6 MB, free: 1.891 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.1203, allocations: 4 kB / 314.6 MB, free: 1.887 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.1205, allocations: 320.5 kB / 314.9 MB, free: 1.539 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.1209, allocations: 143.7 kB / 315.1 MB, free: 1.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.1225, allocations: 1.167 MB / 316.3 MB, free: 204 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.72e-05/0.1225, allocations: 146.7 kB / 316.4 MB, free: 36 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002251/0.1228, allocations: 78.02 kB / 316.5 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/0.1231, allocations: 181.2 kB / 316.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1231, allocations: 0 / 316.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of Templates: time 0.01546/0.1385, allocations: 10.85 MB / 327.5 MB, free: 5.121 MB / 282.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.9016309222206473]