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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007738/0.007738, allocations: 103.7 kB / 15.74 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 190.1 kB / 16.67 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.349/1.349, allocations: 205.1 MB / 222.5 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05384/0.05385, allocations: 11.84 MB / 281.7 MB, free: 9.312 MB / 238.1 MB 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.001411/0.001411, allocations: 67.91 kB / 392.3 MB, free: 3.469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2401, allocations: 49.23 MB / 441.6 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.003631/0.2438, allocations: 2.898 MB / 444.5 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002558/0.2464, allocations: 2.007 MB / 446.5 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.2466, allocations: 4.062 kB / 446.5 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.2469, allocations: 62.31 kB / 446.5 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004632/0.2474, allocations: 147.9 kB / 446.7 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008924/0.2483, allocations: 384.7 kB / 447 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004544/0.2488, allocations: 374.8 kB / 447.4 MB, free: 452 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.2489, allocations: 97.11 kB / 447.5 MB, free: 400 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.2491, allocations: 130.6 kB / 447.6 MB, free: 340 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.2494, allocations: 152.4 kB / 447.8 MB, free: 264 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.006e-05/0.2494, allocations: 28.62 kB / 447.8 MB, free: 260 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004707/0.2499, allocations: 242.3 kB / 448.1 MB, free: 200 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.145e-05/0.2499, allocations: 63.66 kB / 448.1 MB, free: 156 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.2501, allocations: 156.7 kB / 448.3 MB, free: 64 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006153/0.2507, allocations: 457.1 kB / 448.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2507, allocations: 0 / 448.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2507, allocations: 0 / 448.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.2507, allocations: 0 / 448.7 MB, free: 15.81 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.000933/0.2517, allocations: 0.5778 MB / 449.3 MB, free: 15.28 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.2517, allocations: 16.53 kB / 449.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.2519, allocations: 33.69 kB / 449.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.2522, allocations: 277.5 kB / 449.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.2522, allocations: 18.97 kB / 449.6 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.482e-05/0.2523, allocations: 28.19 kB / 449.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00048/0.2528, allocations: 273.6 kB / 449.9 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.2528, allocations: 0 / 449.9 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.2529, allocations: 6.844 kB / 449.9 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.2529, allocations: 5.281 kB / 449.9 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004175/0.2533, allocations: 230 kB / 450.2 MB, free: 14.66 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.002004/0.2553, allocations: 1.443 MB / 451.6 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/0.2556, allocations: 146.3 kB / 451.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.2558, allocations: 72.58 kB / 451.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001804/0.256, allocations: 167.7 kB / 452 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.256, allocations: 35.81 kB / 452 MB, free: 12.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 2.345e-06/0.256, allocations: 4 kB / 452 MB, free: 12.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.00194/0.258, allocations: 0.731 MB / 452.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.258, allocations: 54.75 kB / 452.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.2583, allocations: 266 kB / 453.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.2583, allocations: 31.14 kB / 453.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.2585, allocations: 152.5 kB / 453.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.031e-05/0.2586, allocations: 80.45 kB / 453.3 MB, free: 11.87 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.214e-05/0.2587, allocations: 51.8 kB / 453.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.2588, allocations: 340.3 kB / 453.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.259, allocations: 84.22 kB / 453.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.2592, allocations: 124.3 kB / 453.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004315/0.2597, allocations: 209.4 kB / 454.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2597, allocations: 1.031 kB / 454.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005201/0.2602, allocations: 267.7 kB / 454.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.2602, allocations: 5.719 kB / 454.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.371e-06/0.2602, allocations: 2.281 kB / 454.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.2603, allocations: 2.312 kB / 454.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.2605, allocations: 72.09 kB / 454.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.2606, allocations: 7.5 kB / 454.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.2607, allocations: 8.906 kB / 454.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.2607, allocations: 19.83 kB / 454.5 MB, free: 11.02 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.0001746/0.2609, allocations: 146.9 kB / 454.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.348e-05/0.261, allocations: 27.91 kB / 454.7 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005211/0.2615, allocations: 242.2 kB / 454.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2615, allocations: 7.406 kB / 454.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.2615, allocations: 3.938 kB / 454.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.2615, allocations: 0 / 454.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009292/0.2625, allocations: 0.6368 MB / 455.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2625, allocations: 1.344 kB / 455.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.2628, allocations: 58.44 kB / 455.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.2628, allocations: 1.125 kB / 455.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.2628, allocations: 14.33 kB / 455.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.2628, allocations: 1.406 kB / 455.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.2628, allocations: 5.047 kB / 455.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006093/0.2634, allocations: 395.9 kB / 456 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.2636, allocations: 118.1 kB / 456.1 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/0.2636, allocations: 6.312 kB / 456.1 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.2638, allocations: 12.83 kB / 456.1 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.2638, allocations: 10.8 kB / 456.2 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.2638, allocations: 18.14 kB / 456.2 MB, free: 9.715 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001943/0.264, allocations: 194.2 kB / 456.4 MB, free: 9.586 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2641, allocations: 0 / 456.4 MB, free: 9.586 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004828/0.2645, allocations: 107 kB / 456.5 MB, free: 9.566 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.0003259/0.2649, allocations: 195.1 kB / 456.7 MB, free: 9.426 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004346/0.2653, allocations: 180.6 kB / 456.8 MB, free: 9.352 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2653, allocations: 0 / 456.8 MB, free: 9.352 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001883/0.2655, allocations: 87.59 kB / 456.9 MB, free: 9.316 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004516/0.266, allocations: 83.8 kB / 457 MB, free: 9.266 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.2671, allocations: 0.616 MB / 457.6 MB, free: 8.836 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.2675, allocations: 0.7589 MB / 458.4 MB, free: 8.102 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001535/0.2676, allocations: 48.31 kB / 458.4 MB, free: 8.074 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.064e-05/0.2677, allocations: 32.8 kB / 458.5 MB, free: 8.059 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2677, allocations: 1.062 kB / 458.5 MB, free: 8.059 MB / 334.1 MB Notification: Performance of Templates: time 0.009808/0.2776, allocations: 5.024 MB / 463.5 MB, free: 4.781 MB / 334.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.makefile (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)