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.001337/0.001337, 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.0018/0.0018, 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.9832/0.9832, allocations: 177.2 MB / 203.8 MB, free: 5.48 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.0365/0.0365, allocations: 8.725 MB / 269 MB, free: 4.422 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: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 288.1 MB, free: 1.312 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.737e-05, allocations: 2.312 kB / 288.1 MB, free: 1.309 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.1053/0.1053, allocations: 2.695 MB / 290.8 MB, free: 18.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.1063, allocations: 0.8109 MB / 291.6 MB, free: 18.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.566e-05/0.1064, allocations: 2.188 kB / 291.6 MB, free: 18.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.1065, allocations: 31.02 kB / 291.6 MB, free: 18.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002759/0.1068, allocations: 120.5 kB / 291.7 MB, free: 18.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001536/0.107, allocations: 55.17 kB / 291.8 MB, free: 18.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002344/0.1072, allocations: 268.9 kB / 292.1 MB, free: 18.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1073, allocations: 49.17 kB / 292.1 MB, free: 18.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.1075, allocations: 142 kB / 292.2 MB, free: 18.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.1076, allocations: 77.52 kB / 292.3 MB, free: 18.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.1077, allocations: 18.44 kB / 292.3 MB, free: 18.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.754e-05/0.1077, allocations: 39.56 kB / 292.4 MB, free: 18.24 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.632e-05/0.1078, allocations: 35.61 kB / 292.4 MB, free: 18.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.817e-05/0.1078, allocations: 74.22 kB / 292.5 MB, free: 18.19 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.108, allocations: 161 kB / 292.6 MB, free: 18.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.108, allocations: 0.875 kB / 292.6 MB, free: 18.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.108, allocations: 1.688 kB / 292.6 MB, free: 18.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.108, allocations: 0 / 292.6 MB, free: 18.12 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0003782/0.1084, allocations: 423.1 kB / 293.1 MB, free: 17.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.1084, allocations: 9.531 kB / 293.1 MB, free: 17.76 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.1086, allocations: 41.86 kB / 293.1 MB, free: 17.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.1087, allocations: 164 kB / 293.3 MB, free: 17.6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.1088, allocations: 10.84 kB / 293.3 MB, free: 17.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.1088, allocations: 15.12 kB / 293.3 MB, free: 17.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.109, allocations: 190.9 kB / 293.5 MB, free: 17.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.109, allocations: 5.844 kB / 293.5 MB, free: 17.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.109, allocations: 5.156 kB / 293.5 MB, free: 17.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.109, allocations: 4.281 kB / 293.5 MB, free: 17.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.096e-05/0.1091, allocations: 74.97 kB / 293.6 MB, free: 17.42 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.0005223/0.1096, allocations: 487.2 kB / 294 MB, free: 17.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.1097, allocations: 123.5 kB / 294.2 MB, free: 17.01 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.267e-05/0.1098, allocations: 61.42 kB / 294.2 MB, free: 16.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.1098, allocations: 2.781 kB / 294.2 MB, free: 16.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.1098, allocations: 37.88 kB / 294.3 MB, free: 16.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.1098, allocations: 2.219 kB / 294.3 MB, free: 16.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003594/0.1102, allocations: 278.6 kB / 294.5 MB, free: 16.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.779e-05/0.1102, allocations: 84.11 kB / 294.6 MB, free: 16.65 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.342e-05/0.1103, allocations: 158.3 kB / 294.8 MB, free: 16.53 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.325e-06/0.1103, allocations: 30.89 kB / 294.8 MB, free: 16.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.398e-05/0.1103, allocations: 119.9 kB / 294.9 MB, free: 16.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.1103, allocations: 63.38 kB / 295 MB, free: 16.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.1104, allocations: 40.25 kB / 295 MB, free: 16.31 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.054e-05/0.1104, allocations: 328 kB / 295.3 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.886e-05/0.1104, allocations: 53.33 kB / 295.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.116e-05/0.1105, allocations: 76.03 kB / 295.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.406e-05/0.1106, allocations: 132.1 kB / 295.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1106, allocations: 1.188 kB / 295.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001269/0.1107, allocations: 158.1 kB / 295.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.1107, allocations: 33.62 kB / 295.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1107, allocations: 1.094 kB / 295.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1107, allocations: 5.594 kB / 295.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.1109, allocations: 57.69 kB / 295.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.1109, allocations: 2.641 kB / 295.9 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.803e-05/0.111, allocations: 12.94 kB / 295.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.111, allocations: 8.578 kB / 295.9 MB, free: 15.62 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: 4 * 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 (20): * Single equations (assignments): 19 * 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 8.132e-05/0.1111, allocations: 159.1 kB / 296 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.1111, allocations: 13.34 kB / 296 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001834/0.1113, allocations: 187.4 kB / 296.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1113, allocations: 3.625 kB / 296.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.1113, allocations: 0 / 296.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.1113, allocations: 4.078 kB / 296.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.1115, allocations: 126.3 kB / 296.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1115, allocations: 1.125 kB / 296.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.1116, allocations: 61.44 kB / 296.4 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1116, allocations: 0 / 296.4 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.1117, allocations: 7.812 kB / 296.4 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1117, allocations: 1.125 kB / 296.4 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.1117, allocations: 3.688 kB / 296.4 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.1119, allocations: 309.7 kB / 296.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.1119, allocations: 25.83 kB / 296.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.112, allocations: 10.73 kB / 296.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.465e-05/0.112, allocations: 6.828 kB / 296.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.1121, allocations: 11.06 kB / 296.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.1121, allocations: 2.266 kB / 296.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.728e-05/0.1121, allocations: 53.23 kB / 296.8 MB, free: 14.92 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1121, allocations: 0 / 296.8 MB, free: 14.92 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001943/0.1123, allocations: 55.33 kB / 296.9 MB, free: 14.91 MB / 266.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 (20): * Single equations (assignments): 19 * 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.0001223/0.1124, allocations: 93.7 kB / 297 MB, free: 14.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001667/0.1126, allocations: 187.7 kB / 297.2 MB, free: 14.69 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.1126, allocations: 1.156 kB / 297.2 MB, free: 14.69 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.056e-05/0.1127, allocations: 131.2 kB / 297.3 MB, free: 14.58 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.1129, allocations: 40.66 kB / 297.3 MB, free: 14.56 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008462/0.1137, allocations: 474.2 kB / 297.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.324e-05/0.1138, allocations: 75.78 kB / 297.9 MB, free: 14.17 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.827e-05/0.1139, allocations: 24.73 kB / 297.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.114, allocations: 91.72 kB / 298 MB, free: 14.11 MB / 266.7 MB Notification: Performance of SimCode: time 8.82e-07/0.114, allocations: 1.531 kB / 298 MB, free: 14.11 MB / 266.7 MB Notification: Performance of Templates: time 0.005117/0.1191, allocations: 2.574 MB / 300.6 MB, free: 13.7 MB / 266.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6598499240353703]