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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002059/0.002059, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 207.6 MB / 231.4 MB, free: 3.188 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.06018/0.06018, allocations: 12.01 MB / 295.5 MB, free: 3.223 MB / 238.1 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002288, allocations: 77.92 kB / 414.3 MB, free: 9.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2449, allocations: 51.9 MB / 466.2 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.004317/0.2492, allocations: 2.937 MB / 469.2 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0031/0.2523, allocations: 2.025 MB / 471.2 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.2524, allocations: 3.25 kB / 471.2 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002752/0.2527, allocations: 62.22 kB / 471.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004437/0.2532, allocations: 158.5 kB / 471.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009292/0.2541, allocations: 373.8 kB / 471.8 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000468/0.2546, allocations: 374.7 kB / 472.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.2547, allocations: 67.2 kB / 472.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.255, allocations: 138.7 kB / 472.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002401/0.2552, allocations: 147.7 kB / 472.5 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.216e-05/0.2552, allocations: 23.38 kB / 472.5 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004621/0.2557, allocations: 253 kB / 472.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.282e-05/0.2558, allocations: 53.19 kB / 472.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001845/0.256, allocations: 158.7 kB / 473 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006659/0.2566, allocations: 453.5 kB / 473.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2566, allocations: 0 / 473.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2566, allocations: 0 / 473.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.024e-06/0.2566, allocations: 3.938 kB / 473.4 MB, free: 10.09 MB / 334.1 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.0009822/0.2576, allocations: 0.6021 MB / 474 MB, free: 9.539 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.2577, allocations: 14.14 kB / 474 MB, free: 9.535 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.2578, allocations: 37.39 kB / 474.1 MB, free: 9.516 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.2581, allocations: 265.9 kB / 474.3 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.2582, allocations: 22.03 kB / 474.4 MB, free: 9.234 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.129e-05/0.2582, allocations: 27.31 kB / 474.4 MB, free: 9.223 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005047/0.2587, allocations: 279.2 kB / 474.7 MB, free: 9.043 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.2587, allocations: 0 / 474.7 MB, free: 9.043 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.2588, allocations: 10.22 kB / 474.7 MB, free: 9.035 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.2588, allocations: 6.344 kB / 474.7 MB, free: 9.035 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004206/0.2592, allocations: 218.5 kB / 474.9 MB, free: 8.824 MB / 334.1 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.002039/0.2612, allocations: 1.437 MB / 476.3 MB, free: 7.207 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.2615, allocations: 142.7 kB / 476.5 MB, free: 7.059 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.2617, allocations: 76.83 kB / 476.5 MB, free: 6.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002012/0.2619, allocations: 170.2 kB / 476.7 MB, free: 6.777 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.2619, allocations: 34.56 kB / 476.7 MB, free: 6.734 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.263e-06/0.2619, allocations: 0 / 476.7 MB, free: 6.734 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001888/0.2638, allocations: 0.7301 MB / 477.5 MB, free: 5.953 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.2638, allocations: 59.39 kB / 477.5 MB, free: 5.883 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.2641, allocations: 270.7 kB / 477.8 MB, free: 5.605 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.2642, allocations: 29.7 kB / 477.8 MB, free: 5.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.2643, allocations: 160.4 kB / 478 MB, free: 5.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.932e-05/0.2644, allocations: 79.31 kB / 478.1 MB, free: 5.332 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.227e-05/0.2645, allocations: 49.89 kB / 478.1 MB, free: 5.277 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.2646, allocations: 334.8 kB / 478.4 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.2648, allocations: 81.72 kB / 478.5 MB, free: 4.859 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.265, allocations: 138.8 kB / 478.6 MB, free: 4.703 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/0.2654, allocations: 201.2 kB / 478.8 MB, free: 4.488 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2654, allocations: 3.938 kB / 478.8 MB, free: 4.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005441/0.266, allocations: 265.1 kB / 479.1 MB, free: 4.219 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.266, allocations: 8 kB / 479.1 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.266, allocations: 0 / 479.1 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.266, allocations: 8.156 kB / 479.1 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.2663, allocations: 71.89 kB / 479.2 MB, free: 4.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.2663, allocations: 4 kB / 479.2 MB, free: 4.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.2665, allocations: 11.98 kB / 479.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.2665, allocations: 8 kB / 479.2 MB, free: 4.109 MB / 334.1 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.0001967/0.2667, allocations: 157.6 kB / 479.4 MB, free: 3.945 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.687e-05/0.2667, allocations: 27.81 kB / 479.4 MB, free: 3.918 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005515/0.2673, allocations: 239.6 kB / 479.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.2673, allocations: 4 kB / 479.6 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.2673, allocations: 0 / 479.6 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2673, allocations: 0 / 479.6 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.2683, allocations: 0.6402 MB / 480.3 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.2683, allocations: 8 kB / 480.3 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/0.2686, allocations: 59.89 kB / 480.3 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.2686, allocations: 4 kB / 480.3 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.2686, allocations: 4 kB / 480.3 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.2686, allocations: 4 kB / 480.3 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2686, allocations: 0 / 480.3 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006707/0.2693, allocations: 412.6 kB / 480.8 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.2694, allocations: 116.9 kB / 480.9 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.427e-05/0.2695, allocations: 7.938 kB / 480.9 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.2696, allocations: 11.98 kB / 480.9 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.525e-05/0.2697, allocations: 15.98 kB / 480.9 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.2697, allocations: 4 kB / 480.9 MB, free: 2.293 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002014/0.2699, allocations: 202 kB / 481.1 MB, free: 2.102 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2699, allocations: 0 / 481.1 MB, free: 2.102 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004574/0.2704, allocations: 111.8 kB / 481.2 MB, free: 1.992 MB / 334.1 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.0003254/0.2707, allocations: 190.8 kB / 481.4 MB, free: 1.797 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004375/0.2711, allocations: 175.5 kB / 481.6 MB, free: 1.629 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2711, allocations: 4 kB / 481.6 MB, free: 1.625 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.2713, allocations: 87.83 kB / 481.7 MB, free: 1.539 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.2718, allocations: 76.72 kB / 481.7 MB, free: 1.461 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.2729, allocations: 0.6236 MB / 482.4 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.2733, allocations: 0.7597 MB / 483.1 MB, free: 24 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001684/0.2735, allocations: 42.89 kB / 483.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.67e-05/0.2736, allocations: 35.42 kB / 483.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2736, allocations: 0 / 483.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of Templates: time 0.01015/0.2837, allocations: 5.122 MB / 488.3 MB, free: 10.84 MB / 350.1 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=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.567062735557556]