Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.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.0008304/0.0008304, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009872/0.0009872, allocations: 177 kB / 23.36 MB, free: 1.133 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.9059/0.9059, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.0438/0.0438, allocations: 8.713 MB / 269 MB, free: 4.391 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.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 288 MB, free: 1.328 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.791e-05, allocations: 2.312 kB / 288 MB, free: 1.324 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.09929/0.09932, allocations: 2.898 MB / 290.9 MB, free: 17.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002175/0.1015, allocations: 2.092 MB / 293 MB, free: 16.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.1016, allocations: 7.625 kB / 293 MB, free: 16.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002098/0.1018, allocations: 61.3 kB / 293.1 MB, free: 16.6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003551/0.1022, allocations: 158.2 kB / 293.3 MB, free: 16.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008212/0.103, allocations: 410.7 kB / 293.7 MB, free: 16.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003662/0.1034, allocations: 400.2 kB / 294 MB, free: 16.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.1035, allocations: 68.83 kB / 294.1 MB, free: 16.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000299/0.1038, allocations: 199.6 kB / 294.3 MB, free: 16.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.104, allocations: 121.1 kB / 294.4 MB, free: 16.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.555e-05/0.1041, allocations: 24.53 kB / 294.4 MB, free: 16.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003802/0.1045, allocations: 244.8 kB / 294.7 MB, free: 16.19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.068e-05/0.1045, allocations: 63.53 kB / 294.8 MB, free: 16.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.604e-05/0.1046, allocations: 111.9 kB / 294.9 MB, free: 16.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005387/0.1052, allocations: 426.3 kB / 295.3 MB, free: 16.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.1052, allocations: 0 / 295.3 MB, free: 16.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1052, allocations: 0 / 295.3 MB, free: 16.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1052, allocations: 2.656 kB / 295.3 MB, free: 16.07 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0005857/0.1058, allocations: 0.5015 MB / 295.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.1058, allocations: 9.062 kB / 295.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001755/0.106, allocations: 51.03 kB / 295.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.1062, allocations: 196.8 kB / 296 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.1062, allocations: 20.75 kB / 296.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.1062, allocations: 23.75 kB / 296.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.1065, allocations: 242.8 kB / 296.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.1065, allocations: 0 / 296.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.1066, allocations: 11.83 kB / 296.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.1066, allocations: 6.062 kB / 296.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.1067, allocations: 85.83 kB / 296.4 MB, free: 15.4 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009489/0.1077, allocations: 0.6322 MB / 297 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.1078, allocations: 83.17 kB / 297.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.321e-05/0.1078, allocations: 35.16 kB / 297.2 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.7e-05/0.1079, allocations: 22.17 kB / 297.2 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.1079, allocations: 38.23 kB / 297.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.172e-06/0.1079, allocations: 0 / 297.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003571/0.1083, allocations: 187.1 kB / 297.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.1e-05/0.1083, allocations: 59.36 kB / 297.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.1084, allocations: 197.3 kB / 297.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.1084, allocations: 31.11 kB / 297.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.639e-05/0.1085, allocations: 158.5 kB / 297.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.1085, allocations: 71.84 kB / 297.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.509e-05/0.1086, allocations: 42.38 kB / 297.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.13e-05/0.1086, allocations: 334 kB / 298.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.839e-05/0.1087, allocations: 33.92 kB / 298.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.237e-05/0.1087, allocations: 95.38 kB / 298.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.1089, allocations: 109.8 kB / 298.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1089, allocations: 2.719 kB / 298.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001754/0.109, allocations: 125.7 kB / 298.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1091, allocations: 8.031 kB / 298.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.1091, allocations: 1.312 kB / 298.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.1091, allocations: 9.438 kB / 298.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.1092, allocations: 59.08 kB / 298.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.1092, allocations: 1.375 kB / 298.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.257e-05/0.1093, allocations: 18.34 kB / 298.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.1093, allocations: 10.59 kB / 298.7 MB, free: 13.91 MB / 266.7 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of rotation of pump\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.1094, allocations: 122.7 kB / 298.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.47e-05/0.1094, allocations: 23.36 kB / 298.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.1097, allocations: 129 kB / 299 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1097, allocations: 5.25 kB / 299 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1097, allocations: 2.391 kB / 299 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1097, allocations: 0.5625 kB / 299 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000431/0.1101, allocations: 336.9 kB / 299.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.1101, allocations: 2.156 kB / 299.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.1102, allocations: 55.06 kB / 299.4 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1102, allocations: 1.094 kB / 299.4 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.1103, allocations: 11.06 kB / 299.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.1103, allocations: 1.156 kB / 299.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1103, allocations: 5.578 kB / 299.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.1105, allocations: 229.1 kB / 299.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.728e-05/0.1105, allocations: 37.36 kB / 299.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.1106, allocations: 6.375 kB / 299.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.97e-05/0.1106, allocations: 3.516 kB / 299.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.1107, allocations: 18.84 kB / 299.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.1107, allocations: 8.438 kB / 299.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.945e-05/0.1108, allocations: 63.09 kB / 299.8 MB, free: 13.24 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1108, allocations: 0 / 299.8 MB, free: 13.24 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003566/0.1111, allocations: 123.1 kB / 299.9 MB, free: 13.21 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000246/0.1114, allocations: 169.7 kB / 300.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001522/0.1115, allocations: 97.67 kB / 300.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.1115, allocations: 6.188 kB / 300.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.226e-05/0.1116, allocations: 48.8 kB / 300.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.1118, allocations: 50.16 kB / 300.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000872/0.1127, allocations: 0.5392 MB / 300.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.667e-05/0.1127, allocations: 84.19 kB / 300.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.22e-05/0.1128, allocations: 38.73 kB / 300.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.1129, allocations: 96.7 kB / 301 MB, free: 12.58 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1129, allocations: 1.156 kB / 301 MB, free: 12.58 MB / 266.7 MB Notification: Performance of Templates: time 0.006406/0.1193, allocations: 4.594 MB / 305.6 MB, free: 10.67 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5925303529947996]