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.0009346/0.0009346, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 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.0009398/0.0009398, allocations: 169 kB / 23.02 MB, free: 1.547 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.899/0.899, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.03453/0.03453, allocations: 8.717 MB / 268.7 MB, free: 4.539 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.783e-06/1.783e-06, allocations: 0 / 340.9 MB, free: 8.07 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/2.023e-05, allocations: 2.312 kB / 340.9 MB, free: 8.066 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.003452/0.003472, allocations: 2.927 MB / 343.8 MB, free: 5.117 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002625/0.006097, allocations: 2.067 MB / 345.9 MB, free: 3.043 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.006235, allocations: 7.938 kB / 345.9 MB, free: 3.035 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000275/0.00651, allocations: 59.48 kB / 345.9 MB, free: 2.977 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003987/0.006909, allocations: 166.7 kB / 346.1 MB, free: 2.812 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000767/0.007676, allocations: 402.3 kB / 346.5 MB, free: 2.418 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000364/0.00804, allocations: 397.9 kB / 346.9 MB, free: 2.027 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.008203, allocations: 53.62 kB / 346.9 MB, free: 1.973 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002664/0.00847, allocations: 199.6 kB / 347.1 MB, free: 1.777 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.008668, allocations: 127.6 kB / 347.2 MB, free: 1.652 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.059e-05/0.008709, allocations: 24 kB / 347.3 MB, free: 1.629 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003583/0.009067, allocations: 251.6 kB / 347.5 MB, free: 1.383 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.151e-05/0.009128, allocations: 59.77 kB / 347.6 MB, free: 1.324 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.009231, allocations: 119.7 kB / 347.7 MB, free: 1.207 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005199/0.009751, allocations: 410.8 kB / 348.1 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.009754, allocations: 0 / 348.1 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.009755, allocations: 4 kB / 348.1 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.009761, allocations: 0 / 348.1 MB, free: 0.8008 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.000702/0.01046, allocations: 0.6281 MB / 348.7 MB, free: 140 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.0105, allocations: 12.03 kB / 348.7 MB, free: 128 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002189/0.01072, allocations: 60.67 kB / 348.8 MB, free: 68 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.01103, allocations: 216.7 kB / 349 MB, free: 15.83 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.01106, allocations: 20.86 kB / 349 MB, free: 15.81 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.708e-05/0.0111, allocations: 24.38 kB / 349 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004377/0.01154, allocations: 251.1 kB / 349.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.01156, allocations: 3.938 kB / 349.3 MB, free: 15.51 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.01158, allocations: 12 kB / 349.3 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.0116, allocations: 4 kB / 349.3 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002778/0.01187, allocations: 118.8 kB / 349.4 MB, free: 15.38 MB / 282.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.00154/0.01341, allocations: 0.8638 MB / 350.3 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.01365, allocations: 111.3 kB / 350.4 MB, free: 14.35 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.371e-05/0.01374, allocations: 47.61 kB / 350.4 MB, free: 14.3 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.01385, allocations: 15.98 kB / 350.5 MB, free: 14.28 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.01388, allocations: 45.31 kB / 350.5 MB, free: 14.23 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 1.914e-06/0.01388, allocations: 4 kB / 350.5 MB, free: 14.22 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.001301/0.01518, allocations: 0.5024 MB / 351 MB, free: 13.69 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.01521, allocations: 51.41 kB / 351.1 MB, free: 13.62 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.01542, allocations: 261.8 kB / 351.3 MB, free: 13.35 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.01544, allocations: 25.7 kB / 351.3 MB, free: 13.32 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.01555, allocations: 223.3 kB / 351.6 MB, free: 13.1 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.077e-05/0.01561, allocations: 83.25 kB / 351.6 MB, free: 13.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.879e-05/0.0157, allocations: 51.59 kB / 351.7 MB, free: 12.96 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.01586, allocations: 0.504 MB / 352.2 MB, free: 12.44 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.01597, allocations: 48.62 kB / 352.2 MB, free: 12.39 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.01612, allocations: 138.5 kB / 352.4 MB, free: 12.22 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.01636, allocations: 157.4 kB / 352.5 MB, free: 12.04 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.01636, allocations: 4 kB / 352.5 MB, free: 12.04 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003531/0.01671, allocations: 193.3 kB / 352.7 MB, free: 11.84 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.01673, allocations: 11.94 kB / 352.7 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.01674, allocations: 0 / 352.7 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.01675, allocations: 4 kB / 352.7 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.017, allocations: 72.05 kB / 352.8 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.01701, allocations: 8 kB / 352.8 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.728e-05/0.01711, allocations: 8 kB / 352.8 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.01713, allocations: 15.97 kB / 352.8 MB, free: 11.73 MB / 282.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: 7 * 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 (28): * Single equations (assignments): 28 * 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.0001417/0.01727, allocations: 168.5 kB / 353 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/0.01733, allocations: 27.86 kB / 353 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003586/0.01769, allocations: 186.8 kB / 353.2 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.01769, allocations: 7.938 kB / 353.2 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.0177, allocations: 0 / 353.2 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.0177, allocations: 4 kB / 353.2 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007198/0.01842, allocations: 0.5128 MB / 353.7 MB, free: 10.76 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.01843, allocations: 4 kB / 353.7 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/0.01866, allocations: 59.91 kB / 353.8 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.01867, allocations: 0 / 353.8 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.01869, allocations: 11.92 kB / 353.8 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.01869, allocations: 0 / 353.8 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01869, allocations: 0 / 353.8 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004357/0.01913, allocations: 359 kB / 354.2 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.577e-05/0.0192, allocations: 35.83 kB / 354.2 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/0.01924, allocations: 11.88 kB / 354.2 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.01936, allocations: 7.984 kB / 354.2 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.01941, allocations: 24 kB / 354.2 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.01942, allocations: 4 kB / 354.2 MB, free: 10.23 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001418/0.01956, allocations: 184.8 kB / 354.4 MB, free: 10.05 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01956, allocations: 0 / 354.4 MB, free: 10.05 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004258/0.01999, allocations: 115.7 kB / 354.5 MB, free: 9.934 MB / 282.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 (22): * Single equations (assignments): 22 * 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.0003153/0.0203, allocations: 198.9 kB / 354.7 MB, free: 9.727 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003173/0.02062, allocations: 119.5 kB / 354.8 MB, free: 9.605 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.02062, allocations: 4 kB / 354.8 MB, free: 9.602 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.591e-05/0.02071, allocations: 67.53 kB / 354.9 MB, free: 9.531 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.02096, allocations: 49.08 kB / 355 MB, free: 9.484 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009718/0.02193, allocations: 0.5648 MB / 355.5 MB, free: 8.887 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.112e-05/0.02198, allocations: 84.31 kB / 355.6 MB, free: 8.785 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.893e-05/0.02206, allocations: 37.88 kB / 355.6 MB, free: 8.75 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.628e-05/0.02211, allocations: 36.42 kB / 355.7 MB, free: 8.715 MB / 282.7 MB Notification: Performance of SimCode: time 6.92e-07/0.02211, allocations: 0 / 355.7 MB, free: 8.715 MB / 282.7 MB Notification: Performance of Templates: time 0.005936/0.02805, allocations: 4.727 MB / 360.4 MB, free: 4.078 MB / 282.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.592257974203676]