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.0014/0.0014, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001362/0.001362, allocations: 173.4 kB / 24.06 MB, free: 456 kB / 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.9354/0.9354, allocations: 177.2 MB / 204.5 MB, free: 5.516 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.03454/0.03454, allocations: 8.71 MB / 269.7 MB, free: 4.395 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.443e-06/1.443e-06, allocations: 0 / 342.1 MB, free: 8.855 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.689e-05/1.833e-05, allocations: 4.703 kB / 342.1 MB, free: 8.852 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.003727/0.003745, allocations: 2.666 MB / 344.7 MB, free: 6.164 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.00508, allocations: 0.7944 MB / 345.5 MB, free: 5.367 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.005203, allocations: 0 / 345.5 MB, free: 5.367 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.00533, allocations: 27.72 kB / 345.6 MB, free: 5.34 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000363/0.005693, allocations: 119 kB / 345.7 MB, free: 5.223 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004378/0.006131, allocations: 59.91 kB / 345.7 MB, free: 5.164 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002986/0.006429, allocations: 266.4 kB / 346 MB, free: 4.902 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.006555, allocations: 40.52 kB / 346 MB, free: 4.863 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.006798, allocations: 147.7 kB / 346.2 MB, free: 4.719 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.006956, allocations: 75.78 kB / 346.3 MB, free: 4.645 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.006985, allocations: 16 kB / 346.3 MB, free: 4.629 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.973e-05/0.007075, allocations: 32 kB / 346.3 MB, free: 4.598 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.00711, allocations: 39.83 kB / 346.3 MB, free: 4.559 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.177e-05/0.007182, allocations: 79.77 kB / 346.4 MB, free: 4.48 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.007408, allocations: 151.4 kB / 346.6 MB, free: 4.332 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.00741, allocations: 4 kB / 346.6 MB, free: 4.328 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.00741, allocations: 0 / 346.6 MB, free: 4.328 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.007415, allocations: 0 / 346.6 MB, free: 4.328 MB / 314.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.0005645/0.007979, allocations: 0.5403 MB / 347.1 MB, free: 3.746 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.008016, allocations: 12.03 kB / 347.1 MB, free: 3.734 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/0.0082, allocations: 48.73 kB / 347.2 MB, free: 3.688 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.008413, allocations: 180.1 kB / 347.3 MB, free: 3.484 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.008431, allocations: 12.38 kB / 347.4 MB, free: 3.473 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.008462, allocations: 20.38 kB / 347.4 MB, free: 3.453 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.008704, allocations: 184.6 kB / 347.6 MB, free: 3.246 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.008722, allocations: 3.938 kB / 347.6 MB, free: 3.242 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.008737, allocations: 8 kB / 347.6 MB, free: 3.234 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.008746, allocations: 7.984 kB / 347.6 MB, free: 3.227 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.008866, allocations: 87.16 kB / 347.7 MB, free: 3.137 MB / 314.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.0007391/0.009605, allocations: 0.6439 MB / 348.3 MB, free: 2.453 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.00979, allocations: 140.8 kB / 348.4 MB, free: 2.297 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.672e-05/0.009856, allocations: 61.38 kB / 348.5 MB, free: 2.227 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.009874, allocations: 11.94 kB / 348.5 MB, free: 2.215 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.009894, allocations: 33.39 kB / 348.6 MB, free: 2.172 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 1.713e-06/0.009896, allocations: 0 / 348.6 MB, free: 2.172 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.003969/0.01387, allocations: 0.5511 MB / 349.1 MB, free: 1.555 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.0139, allocations: 81.11 kB / 349.2 MB, free: 1.457 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.01402, allocations: 206.4 kB / 349.4 MB, free: 1.238 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.01404, allocations: 33.7 kB / 349.4 MB, free: 1.199 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.005e-05/0.01412, allocations: 183.2 kB / 349.6 MB, free: 1.016 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/0.01416, allocations: 67.38 kB / 349.7 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.624e-05/0.01423, allocations: 51.33 kB / 349.7 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.01436, allocations: 0.5 MB / 350.2 MB, free: 388 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.868e-05/0.01443, allocations: 65.34 kB / 350.3 MB, free: 312 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.355e-05/0.01451, allocations: 102.3 kB / 350.4 MB, free: 184 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.01469, allocations: 160.1 kB / 350.5 MB, free: 15.99 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.0147, allocations: 4 kB / 350.5 MB, free: 15.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000253/0.01495, allocations: 196.8 kB / 350.7 MB, free: 15.78 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.01498, allocations: 33.69 kB / 350.8 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.01499, allocations: 4 kB / 350.8 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/0.015, allocations: 0 / 350.8 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.0152, allocations: 55.97 kB / 350.8 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.0152, allocations: 0 / 350.8 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.304e-05/0.01528, allocations: 8 kB / 350.8 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.0153, allocations: 16.02 kB / 350.8 MB, free: 15.66 MB / 330.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.0001335/0.01543, allocations: 202.2 kB / 351 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.01547, allocations: 15.91 kB / 351.1 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002711/0.01574, allocations: 229.9 kB / 351.3 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.01575, allocations: 0 / 351.3 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.01575, allocations: 0 / 351.3 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.01575, allocations: 0 / 351.3 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000477/0.01623, allocations: 491.9 kB / 351.8 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01623, allocations: 0 / 351.8 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.01641, allocations: 59.91 kB / 351.8 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.01642, allocations: 0 / 351.8 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.01643, allocations: 7.938 kB / 351.8 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.01643, allocations: 0 / 351.8 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01643, allocations: 0 / 351.8 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003365/0.0198, allocations: 400.7 kB / 352.2 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.532e-05/0.01985, allocations: 27.89 kB / 352.2 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.417e-05/0.01988, allocations: 7.938 kB / 352.3 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.01998, allocations: 11.98 kB / 352.3 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.02002, allocations: 19.91 kB / 352.3 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.02003, allocations: 8.031 kB / 352.3 MB, free: 14.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.916e-05/0.0201, allocations: 151.1 kB / 352.4 MB, free: 13.95 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0201, allocations: 0 / 352.4 MB, free: 13.95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002819/0.02038, allocations: 52 kB / 352.5 MB, free: 13.89 MB / 330.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.0001192/0.0205, allocations: 115.2 kB / 352.6 MB, free: 13.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004604/0.02096, allocations: 208.4 kB / 352.8 MB, free: 13.54 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.02096, allocations: 0 / 352.8 MB, free: 13.54 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.02107, allocations: 136.7 kB / 352.9 MB, free: 13.38 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.02136, allocations: 44.11 kB / 353 MB, free: 13.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.02238, allocations: 472.2 kB / 353.4 MB, free: 12.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.214e-05/0.02243, allocations: 79.98 kB / 353.5 MB, free: 12.74 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.003118/0.02555, allocations: 21.58 kB / 353.5 MB, free: 12.72 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.02569, allocations: 118.2 kB / 353.7 MB, free: 12.6 MB / 330.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02569, allocations: 0 / 353.7 MB, free: 12.6 MB / 330.7 MB Notification: Performance of Templates: time 0.0086/0.03429, allocations: 2.692 MB / 356.3 MB, free: 9.98 MB / 330.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: 2.7661363603547215]