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.0007471/0.0007471, allocations: 77.09 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.0008366/0.0008366, allocations: 169 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.9681/0.9681, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.03516/0.03516, allocations: 8.72 MB / 269.8 MB, free: 4.375 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.844e-06/1.844e-06, allocations: 0 / 342.1 MB, free: 8.855 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.395e-05, allocations: 4.844 kB / 342.1 MB, free: 8.852 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.003029/0.003053, allocations: 2.915 MB / 345 MB, free: 5.914 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002214/0.005267, allocations: 2.063 MB / 347.1 MB, free: 3.844 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.005416, allocations: 3.938 kB / 347.1 MB, free: 3.84 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002308/0.005647, allocations: 55.55 kB / 347.1 MB, free: 3.785 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003494/0.005996, allocations: 166.7 kB / 347.3 MB, free: 3.621 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006759/0.006672, allocations: 398.4 kB / 347.7 MB, free: 3.23 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003449/0.007017, allocations: 397.9 kB / 348.1 MB, free: 2.84 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.007161, allocations: 49.64 kB / 348.1 MB, free: 2.785 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.007386, allocations: 199.6 kB / 348.3 MB, free: 2.59 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.007554, allocations: 131.6 kB / 348.4 MB, free: 2.461 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.007583, allocations: 27.98 kB / 348.5 MB, free: 2.434 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002752/0.007858, allocations: 243.7 kB / 348.7 MB, free: 2.195 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.445e-05/0.007913, allocations: 63.7 kB / 348.8 MB, free: 2.133 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.415e-05/0.007997, allocations: 115.7 kB / 348.9 MB, free: 2.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005686/0.008565, allocations: 410.7 kB / 349.3 MB, free: 1.617 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.008569, allocations: 4 kB / 349.3 MB, free: 1.613 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.00857, allocations: 0 / 349.3 MB, free: 1.613 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.008575, allocations: 0 / 349.3 MB, free: 1.613 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0005689/0.009144, allocations: 0.6397 MB / 349.9 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.009176, allocations: 12.03 kB / 349.9 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.009333, allocations: 60.67 kB / 350 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.009538, allocations: 224.2 kB / 350.2 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.009555, allocations: 16.88 kB / 350.2 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/0.009585, allocations: 24.38 kB / 350.2 MB, free: 0.582 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.009838, allocations: 239.1 kB / 350.5 MB, free: 336 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.009848, allocations: 0 / 350.5 MB, free: 336 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.009864, allocations: 12 kB / 350.5 MB, free: 324 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.009873, allocations: 8 kB / 350.5 MB, free: 316 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.009994, allocations: 93.36 kB / 350.6 MB, free: 220 kB / 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.0009936/0.01099, allocations: 0.8292 MB / 351.4 MB, free: 15.35 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.01113, allocations: 103.3 kB / 351.5 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.416e-05/0.01117, allocations: 35.66 kB / 351.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-05/0.01125, allocations: 23.92 kB / 351.6 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.01127, allocations: 33.39 kB / 351.6 MB, free: 15.13 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.994e-06/0.01127, allocations: 0 / 351.6 MB, free: 15.13 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007953/0.01207, allocations: 466.6 kB / 352.1 MB, free: 14.64 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.0121, allocations: 55.41 kB / 352.1 MB, free: 14.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.01222, allocations: 253.7 kB / 352.4 MB, free: 14.31 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.01224, allocations: 29.7 kB / 352.4 MB, free: 14.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.652e-05/0.01232, allocations: 215.3 kB / 352.6 MB, free: 14.06 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4e-05/0.01236, allocations: 79.3 kB / 352.7 MB, free: 13.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.185e-05/0.01243, allocations: 67.45 kB / 352.7 MB, free: 13.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.01254, allocations: 0.5001 MB / 353.2 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.839e-05/0.0126, allocations: 44.61 kB / 353.3 MB, free: 13.35 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.333e-05/0.01269, allocations: 145.2 kB / 353.4 MB, free: 13.17 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.01282, allocations: 139.9 kB / 353.6 MB, free: 13.01 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.01282, allocations: 0 / 353.6 MB, free: 13.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002029/0.01302, allocations: 177.5 kB / 353.7 MB, free: 12.83 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.01304, allocations: 8.031 kB / 353.7 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.01304, allocations: 4 kB / 353.8 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.01305, allocations: 3.938 kB / 353.8 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.01321, allocations: 71.89 kB / 353.8 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.01321, allocations: 4 kB / 353.8 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.79e-05/0.01327, allocations: 12 kB / 353.8 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.01328, allocations: 11.98 kB / 353.9 MB, free: 12.71 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: 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.0001174/0.0134, allocations: 172.5 kB / 354 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/0.01344, allocations: 27.86 kB / 354.1 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.01366, allocations: 171.4 kB / 354.2 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.01366, allocations: 4 kB / 354.2 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.01366, allocations: 3.938 kB / 354.2 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.01367, allocations: 0 / 354.2 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004524/0.01412, allocations: 481 kB / 354.7 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01412, allocations: 4 kB / 354.7 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.01426, allocations: 59.94 kB / 354.8 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.01426, allocations: 0 / 354.8 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.01427, allocations: 8 kB / 354.8 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.01427, allocations: 3.984 kB / 354.8 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.01428, allocations: 3.938 kB / 354.8 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.01454, allocations: 328 kB / 355.1 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.01459, allocations: 39.83 kB / 355.1 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.01461, allocations: 7.984 kB / 355.1 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.834e-05/0.01468, allocations: 19.91 kB / 355.2 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.01472, allocations: 16.02 kB / 355.2 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.01473, allocations: 7.984 kB / 355.2 MB, free: 11.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.594e-05/0.0148, allocations: 176.7 kB / 355.4 MB, free: 11.13 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0148, allocations: 0 / 355.4 MB, free: 11.13 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002649/0.01507, allocations: 119.7 kB / 355.5 MB, free: 11.01 MB / 330.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.0002214/0.01529, allocations: 194.8 kB / 355.7 MB, free: 10.81 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001755/0.01546, allocations: 111.5 kB / 355.8 MB, free: 10.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01547, allocations: 0 / 355.8 MB, free: 10.7 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.572e-05/0.01553, allocations: 67.52 kB / 355.8 MB, free: 10.63 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.01578, allocations: 47.28 kB / 355.9 MB, free: 10.59 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.01685, allocations: 0.5683 MB / 356.5 MB, free: 9.984 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.925e-05/0.0169, allocations: 84.31 kB / 356.5 MB, free: 9.883 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.423e-05/0.01698, allocations: 33.88 kB / 356.6 MB, free: 9.848 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.01711, allocations: 130.2 kB / 356.7 MB, free: 9.719 MB / 330.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01711, allocations: 4 kB / 356.7 MB, free: 9.715 MB / 330.7 MB Notification: Performance of Templates: time 0.006536/0.02365, allocations: 4.819 MB / 361.5 MB, free: 4.98 MB / 330.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.7807661020196974]