Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTest.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.0006989/0.0006989, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009557/0.001655, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006889/0.0006889, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008986/0.001588, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.8905/0.8905, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08737/0.9779, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/package.mo): time 0.03258/0.03258, allocations: 8.732 MB / 252.7 MB, free: 6.387 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004782/0.03736, allocations: 3.002 MB / 255.7 MB, free: 3.379 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-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.PumpTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTest") translateModel(OpenHydraulics.DevelopmentTests.PumpTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 257 MB, free: 2.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.206e-05, allocations: 6.312 kB / 257 MB, free: 2.078 MB / 250.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTest): time 0.004023/0.004045, allocations: 5.156 MB / 262.1 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.006007, allocations: 1.613 MB / 263.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002456/0.006252, allocations: 15.94 kB / 263.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002038/0.006456, allocations: 138.7 kB / 263.9 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007015/0.007158, allocations: 428.8 kB / 264.3 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.007552, allocations: 331.5 kB / 264.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.008569, allocations: 1.627 MB / 266.3 MB, free: 8.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003587/0.008928, allocations: 332.1 kB / 266.6 MB, free: 8.395 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008253/0.009753, allocations: 0.9445 MB / 267.6 MB, free: 7.449 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005299/0.01028, allocations: 0.5767 MB / 268.1 MB, free: 6.871 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.01041, allocations: 136 kB / 268.3 MB, free: 6.738 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.0106, allocations: 152 kB / 268.4 MB, free: 6.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.01074, allocations: 223.4 kB / 268.6 MB, free: 6.371 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000303/0.01105, allocations: 379.4 kB / 269 MB, free: 6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007241/0.01177, allocations: 0.845 MB / 269.8 MB, free: 5.152 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-05/0.01179, allocations: 8 kB / 269.9 MB, free: 5.145 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.01179, allocations: 0 / 269.9 MB, free: 5.145 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.576e-05/0.01182, allocations: 0 / 269.9 MB, free: 5.145 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001429/0.01325, allocations: 1.387 MB / 271.2 MB, free: 3.727 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.01328, allocations: 16.02 kB / 271.3 MB, free: 3.711 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002482/0.01353, allocations: 225.9 kB / 271.5 MB, free: 3.473 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004658/0.01399, allocations: 390.5 kB / 271.9 MB, free: 3.062 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.472e-05/0.01404, allocations: 66 kB / 271.9 MB, free: 3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.856e-05/0.01412, allocations: 80 kB / 272 MB, free: 2.922 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000654/0.01477, allocations: 0.6872 MB / 272.7 MB, free: 2.207 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.01479, allocations: 3.953 kB / 272.7 MB, free: 2.203 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.849e-05/0.01484, allocations: 36 kB / 272.7 MB, free: 2.168 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.01485, allocations: 20 kB / 272.7 MB, free: 2.148 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003693/0.01522, allocations: 269.8 kB / 273 MB, free: 1.887 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1197/0.135, allocations: 2.108 MB / 275.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006341/0.1356, allocations: 238.7 kB / 275.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.1358, allocations: 112 kB / 275.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.806e-05/0.1359, allocations: 10.62 kB / 275.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.1359, allocations: 42.34 kB / 275.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 2.836e-06/0.1359, allocations: 0 / 275.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.001148/0.137, allocations: 430.7 kB / 275.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.216e-05/0.1371, allocations: 57.48 kB / 276 MB, free: 12.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000402/0.1375, allocations: 476.8 kB / 276.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/0.1375, allocations: 45.2 kB / 276.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.1377, allocations: 398 kB / 276.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.587e-05/0.1378, allocations: 169.1 kB / 277.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.1379, allocations: 129.9 kB / 277.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.259e-05/0.138, allocations: 370.3 kB / 277.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.1382, allocations: 114 kB / 277.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.1384, allocations: 251 kB / 277.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003047/0.1387, allocations: 345.8 kB / 278.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.1387, allocations: 2.375 kB / 278.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0005315/0.1392, allocations: 407.1 kB / 278.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1392, allocations: 8.219 kB / 278.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.1392, allocations: 6.078 kB / 278.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002505/0.1395, allocations: 189.3 kB / 278.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004514/0.1399, allocations: 166.1 kB / 279 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.1413, allocations: 2.79 MB / 281.8 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/0.1416, allocations: 91.7 kB / 281.9 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/0.1416, allocations: 19.25 kB / 281.9 MB, free: 9.031 MB / 266.7 MB Warning: Assuming fixed start value for the following 1 variables: constantSpeed.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 16 (variableDisplacementPump1.mechanicalPumpLosses.mode,$PRE.variableDisplacementPump1.mechanicalPumpLosses.mode,variableDisplacementPump1.mechanicalPumpLosses.locked,variableDisplacementPump1.mechanicalPumpLosses.startBackward,$PRE.variableDisplacementPump1.mechanicalPumpLosses.startBackward,variableDisplacementPump1.mechanicalPumpLosses.startForward,$PRE.variableDisplacementPump1.mechanicalPumpLosses.startForward,variableDisplacementPump.mechanicalPumpLosses.mode,$PRE.variableDisplacementPump.mechanicalPumpLosses.mode,variableDisplacementPump.mechanicalPumpLosses.locked,variableDisplacementPump.mechanicalPumpLosses.startBackward,$PRE.variableDisplacementPump.mechanicalPumpLosses.startBackward,variableDisplacementPump.mechanicalPumpLosses.startForward,$PRE.variableDisplacementPump.mechanicalPumpLosses.startForward,variableDisplacementPump.mechanicalPumpLosses.free,variableDisplacementPump1.mechanicalPumpLosses.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002157/0.1418, allocations: 168.4 kB / 282.1 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.256e-05/0.1419, allocations: 54.66 kB / 282.1 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004589/0.1424, allocations: 330.9 kB / 282.4 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1424, allocations: 4.469 kB / 282.4 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.1424, allocations: 0.5625 kB / 282.4 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1424, allocations: 3.109 kB / 282.4 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.1435, allocations: 0.7613 MB / 283.2 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.1435, allocations: 3.578 kB / 283.2 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.1438, allocations: 97.08 kB / 283.3 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.1439, allocations: 76.34 kB / 283.4 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002162/0.1442, allocations: 170 kB / 283.5 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.1442, allocations: 17.33 kB / 283.6 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/0.1453, allocations: 2.511 MB / 286.1 MB, free: 6.199 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.1453, allocations: 10.17 kB / 286.1 MB, free: 6.195 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005398/0.1458, allocations: 484.9 kB / 286.6 MB, free: 5.965 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.822e-05/0.1459, allocations: 29.86 kB / 286.6 MB, free: 5.961 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.1461, allocations: 44.59 kB / 286.6 MB, free: 5.961 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003197/0.1464, allocations: 197 kB / 286.8 MB, free: 5.957 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.1465, allocations: 15.48 kB / 286.8 MB, free: 5.957 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002287/0.1467, allocations: 214.7 kB / 287 MB, free: 5.938 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1467, allocations: 0 / 287 MB, free: 5.938 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006177/0.1473, allocations: 259.5 kB / 287.3 MB, free: 5.895 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (constantSpeed.phi) * Number of discrete variables: 8 (variableDisplacementPump.mechanicalPumpLosses.startForward,variableDisplacementPump.mechanicalPumpLosses.startBackward,variableDisplacementPump.mechanicalPumpLosses.locked,variableDisplacementPump.mechanicalPumpLosses.mode,variableDisplacementPump1.mechanicalPumpLosses.startForward,variableDisplacementPump1.mechanicalPumpLosses.startBackward,variableDisplacementPump1.mechanicalPumpLosses.locked,variableDisplacementPump1.mechanicalPumpLosses.mode) * Number of discrete states: 6 (variableDisplacementPump.mechanicalPumpLosses.mode,variableDisplacementPump.mechanicalPumpLosses.startBackward,variableDisplacementPump.mechanicalPumpLosses.startForward,variableDisplacementPump1.mechanicalPumpLosses.mode,variableDisplacementPump1.mechanicalPumpLosses.startBackward,variableDisplacementPump1.mechanicalPumpLosses.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001425/0.1475, allocations: 114.2 kB / 287.4 MB, free: 5.824 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005475/0.148, allocations: 0.5217 MB / 287.9 MB, free: 5.566 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.816e-05/0.148, allocations: 11.25 kB / 287.9 MB, free: 5.566 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002463/0.1483, allocations: 365.1 kB / 288.3 MB, free: 5.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004486/0.1487, allocations: 213.9 kB / 288.5 MB, free: 5.309 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/0.1608, allocations: 1.547 MB / 290.1 MB, free: 4.574 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/0.161, allocations: 177.2 kB / 290.2 MB, free: 4.496 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002637/0.1613, allocations: 79 kB / 290.3 MB, free: 4.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.1615, allocations: 186.9 kB / 290.5 MB, free: 4.434 MB / 266.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1615, allocations: 1.375 kB / 290.5 MB, free: 4.434 MB / 266.7 MB Notification: Performance of Templates: time 0.01364/0.1752, allocations: 12.5 MB / 303 MB, free: 12.11 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6239987602457404]