Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.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.002434/0.002434, allocations: 105.5 kB / 18.95 MB, free: 1.176 MB / 13.93 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.001977/0.001977, allocations: 214.8 kB / 22.25 MB, free: 3.566 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 1.747/1.747, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.7 MB " [Timeout remaining time 178] 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.06532/0.06532, allocations: 11.33 MB / 323.8 MB, free: 6.793 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.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") [Timeout 660] "Notification: OpenHydraulics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003734/0.003734, allocations: 67.89 kB / 451.2 MB, free: 35.24 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09178/0.09552, allocations: 55.97 MB / 0.4953 GB, free: 11.2 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.004858/0.1004, allocations: 2.496 MB / 0.4977 GB, free: 8.684 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.102, allocations: 0.7597 MB / 0.4985 GB, free: 7.922 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.1022, allocations: 3.938 kB / 0.4985 GB, free: 7.918 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.1023, allocations: 27.72 kB / 0.4985 GB, free: 7.891 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004402/0.1028, allocations: 115.2 kB / 0.4986 GB, free: 7.777 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.103, allocations: 55.92 kB / 0.4987 GB, free: 7.723 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003542/0.1033, allocations: 254.7 kB / 0.4989 GB, free: 7.473 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.1035, allocations: 44.53 kB / 0.499 GB, free: 7.426 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.1037, allocations: 111.6 kB / 0.4991 GB, free: 7.316 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.1039, allocations: 91.55 kB / 0.4991 GB, free: 7.227 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.1039, allocations: 12 kB / 0.4992 GB, free: 7.215 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.104, allocations: 35.98 kB / 0.4992 GB, free: 7.18 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.369e-05/0.1041, allocations: 31.86 kB / 0.4992 GB, free: 7.148 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.1042, allocations: 91.59 kB / 0.4993 GB, free: 7.059 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003404/0.1045, allocations: 215.1 kB / 0.4995 GB, free: 6.848 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1046, allocations: 0 / 0.4995 GB, free: 6.848 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1046, allocations: 0 / 0.4995 GB, free: 6.848 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1046, allocations: 0 / 0.4995 GB, free: 6.848 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008252/0.1054, allocations: 450.8 kB / 0.4999 GB, free: 6.371 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.1054, allocations: 11.98 kB / 0.5 GB, free: 6.359 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002134/0.1056, allocations: 36.78 kB / 0.5 GB, free: 6.324 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.106, allocations: 174.2 kB / 0.5002 GB, free: 6.129 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.106, allocations: 8.375 kB / 0.5002 GB, free: 6.121 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.021e-05/0.106, allocations: 24.12 kB / 0.5002 GB, free: 6.098 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004322/0.1065, allocations: 213.6 kB / 0.5004 GB, free: 5.867 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.1065, allocations: 4 kB / 0.5004 GB, free: 5.863 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.1065, allocations: 4 kB / 0.5004 GB, free: 5.859 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.1065, allocations: 8 kB / 0.5004 GB, free: 5.852 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.1068, allocations: 146.6 kB / 0.5005 GB, free: 5.703 MB / 362.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.001172/0.108, allocations: 0.5905 MB / 0.5011 GB, free: 5.074 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003557/0.1083, allocations: 164.4 kB / 0.5013 GB, free: 4.898 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.1085, allocations: 90.45 kB / 0.5014 GB, free: 4.801 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.1085, allocations: 4 kB / 0.5014 GB, free: 4.797 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.1086, allocations: 38.55 kB / 0.5014 GB, free: 4.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.323e-06/0.1086, allocations: 4 kB / 0.5014 GB, free: 4.746 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.002007/0.1106, allocations: 0.7245 MB / 0.5021 GB, free: 3.961 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.504e-05/0.1107, allocations: 89.05 kB / 0.5022 GB, free: 3.855 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.1108, allocations: 158.1 kB / 0.5024 GB, free: 3.688 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.1109, allocations: 33.64 kB / 0.5024 GB, free: 3.648 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.111, allocations: 136.5 kB / 0.5025 GB, free: 3.512 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.279e-05/0.1111, allocations: 67.39 kB / 0.5026 GB, free: 3.445 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.727e-05/0.1112, allocations: 41.69 kB / 0.5026 GB, free: 3.398 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004292/0.1116, allocations: 330.8 kB / 0.5029 GB, free: 3.066 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.1118, allocations: 98.45 kB / 0.503 GB, free: 2.961 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.112, allocations: 117.4 kB / 0.5031 GB, free: 2.828 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/0.1124, allocations: 213.9 kB / 0.5033 GB, free: 2.594 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1124, allocations: 0 / 0.5033 GB, free: 2.594 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004889/0.1129, allocations: 264.7 kB / 0.5036 GB, free: 2.316 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.283e-05/0.1129, allocations: 33.7 kB / 0.5036 GB, free: 2.277 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1129, allocations: 0 / 0.5036 GB, free: 2.277 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.1129, allocations: 7.938 kB / 0.5036 GB, free: 2.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.1132, allocations: 59.95 kB / 0.5037 GB, free: 2.211 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.1132, allocations: 0 / 0.5037 GB, free: 2.211 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.1134, allocations: 8 kB / 0.5037 GB, free: 2.203 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.1134, allocations: 16.08 kB / 0.5037 GB, free: 2.188 MB / 362.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: 5 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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.0002105/0.1136, allocations: 163.4 kB / 0.5039 GB, free: 2.012 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.515e-05/0.1137, allocations: 15.91 kB / 0.5039 GB, free: 1.996 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006034/0.1143, allocations: 281.8 kB / 0.5042 GB, free: 1.703 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.1143, allocations: 7.938 kB / 0.5042 GB, free: 1.695 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1143, allocations: 0 / 0.5042 GB, free: 1.695 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1143, allocations: 0 / 0.5042 GB, free: 1.695 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008959/0.1152, allocations: 0.5131 MB / 0.5047 GB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1152, allocations: 0 / 0.5047 GB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002999/0.1155, allocations: 63.84 kB / 0.5047 GB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1155, allocations: 0 / 0.5047 GB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.1155, allocations: 8 kB / 0.5047 GB, free: 1.062 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1155, allocations: 0 / 0.5047 GB, free: 1.062 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1155, allocations: 0 / 0.5047 GB, free: 1.062 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007546/0.1163, allocations: 467.2 kB / 0.5052 GB, free: 0.5742 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.845e-05/0.1163, allocations: 35.78 kB / 0.5052 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/0.1164, allocations: 4 kB / 0.5052 GB, free: 0.5352 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.1165, allocations: 8 kB / 0.5052 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.514e-05/0.1166, allocations: 15.97 kB / 0.5052 GB, free: 0.5117 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.1166, allocations: 7.984 kB / 0.5053 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000128/0.1167, allocations: 131.2 kB / 0.5054 GB, free: 384 kB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1167, allocations: 0 / 0.5054 GB, free: 384 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003279/0.117, allocations: 55.94 kB / 0.5054 GB, free: 328 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (idealPump.phi) * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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.0001836/0.1172, allocations: 107.2 kB / 0.5055 GB, free: 212 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005285/0.1178, allocations: 258.6 kB / 0.5058 GB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1178, allocations: 0 / 0.5058 GB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002353/0.118, allocations: 157 kB / 0.5059 GB, free: 15.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.1184, allocations: 41.61 kB / 0.506 GB, free: 15.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.1194, allocations: 0.5184 MB / 0.5065 GB, free: 15.17 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001566/0.1196, allocations: 125.5 kB / 0.5066 GB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00012/0.1197, allocations: 29.56 kB / 0.5066 GB, free: 14.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.688e-05/0.1197, allocations: 23.42 kB / 0.5066 GB, free: 14.97 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.1197, allocations: 0 / 0.5066 GB, free: 14.97 MB / 378.7 MB Notification: Performance of Templates: time 0.007466/0.1272, allocations: 2.608 MB / 0.5092 GB, free: 12.42 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.1804152929689735]