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.001061/0.001061, allocations: 107.2 kB / 16.29 MB, free: 6.43 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.001055/0.001055, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.286/1.286, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.056/0.056, allocations: 11.84 MB / 282.3 MB, free: 296 kB / 222.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.001534/0.001535, allocations: 63.91 kB / 342.5 MB, free: 3.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2082, allocations: 49.21 MB / 391.8 MB, free: 49.02 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.003466/0.2117, allocations: 2.897 MB / 394.7 MB, free: 46.99 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002202/0.2139, allocations: 1.998 MB / 396.7 MB, free: 45.56 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.214, allocations: 2.406 kB / 396.7 MB, free: 45.56 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.2143, allocations: 66.22 kB / 396.7 MB, free: 45.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003373/0.2146, allocations: 147.6 kB / 396.9 MB, free: 45.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007257/0.2154, allocations: 386.5 kB / 397.2 MB, free: 45.24 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003148/0.2157, allocations: 369.1 kB / 397.6 MB, free: 45.05 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.2159, allocations: 86.59 kB / 397.7 MB, free: 45.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.216, allocations: 133.3 kB / 397.8 MB, free: 44.95 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.2162, allocations: 152.1 kB / 398 MB, free: 44.88 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.76e-05/0.2163, allocations: 24.91 kB / 398 MB, free: 44.88 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003968/0.2167, allocations: 246.1 kB / 398.2 MB, free: 44.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.884e-05/0.2167, allocations: 56.95 kB / 398.3 MB, free: 44.78 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.2169, allocations: 159.5 kB / 398.4 MB, free: 44.69 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005006/0.2174, allocations: 453.2 kB / 398.9 MB, free: 44.51 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2174, allocations: 0.5156 kB / 398.9 MB, free: 44.51 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2174, allocations: 3.562 kB / 398.9 MB, free: 44.51 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.2174, allocations: 0 / 398.9 MB, free: 44.51 MB / 318.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.0007183/0.2181, allocations: 0.5922 MB / 399.5 MB, free: 44 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.2182, allocations: 13.08 kB / 399.5 MB, free: 44 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.2183, allocations: 34.34 kB / 399.5 MB, free: 43.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.2185, allocations: 267.3 kB / 399.8 MB, free: 43.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.2185, allocations: 18.92 kB / 399.8 MB, free: 43.72 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/0.2186, allocations: 31.62 kB / 399.8 MB, free: 43.7 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004347/0.219, allocations: 276.7 kB / 400.1 MB, free: 43.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.2191, allocations: 0 / 400.1 MB, free: 43.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.2191, allocations: 6.125 kB / 400.1 MB, free: 43.56 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.2191, allocations: 6.5 kB / 400.1 MB, free: 43.56 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003789/0.2195, allocations: 225 kB / 400.3 MB, free: 43.48 MB / 318.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.001473/0.221, allocations: 1.442 MB / 401.8 MB, free: 42.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.2212, allocations: 149.3 kB / 401.9 MB, free: 42 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.2214, allocations: 68.06 kB / 402 MB, free: 41.97 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/0.2215, allocations: 176.1 kB / 402.2 MB, free: 41.77 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.413e-05/0.2215, allocations: 43.78 kB / 402.2 MB, free: 41.72 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.2215, allocations: 1.312 kB / 402.2 MB, free: 41.72 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.00164/0.2232, allocations: 0.7323 MB / 402.9 MB, free: 41.21 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.81e-05/0.2232, allocations: 54.25 kB / 403 MB, free: 41.14 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.2234, allocations: 263 kB / 403.3 MB, free: 40.96 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.2235, allocations: 34.97 kB / 403.3 MB, free: 40.92 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.33e-05/0.2235, allocations: 164.8 kB / 403.4 MB, free: 40.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.2236, allocations: 67.42 kB / 403.5 MB, free: 40.71 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.016e-05/0.2237, allocations: 56.23 kB / 403.6 MB, free: 40.67 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.416e-05/0.2237, allocations: 336.3 kB / 403.9 MB, free: 40.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.2239, allocations: 80.14 kB / 404 MB, free: 40.29 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.224, allocations: 130.2 kB / 404.1 MB, free: 40.19 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/0.2244, allocations: 208.8 kB / 404.3 MB, free: 40.05 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2244, allocations: 1.094 kB / 404.3 MB, free: 40.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004331/0.2248, allocations: 258.3 kB / 404.6 MB, free: 39.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.2248, allocations: 4.688 kB / 404.6 MB, free: 39.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2249, allocations: 6.656 kB / 404.6 MB, free: 39.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.2249, allocations: 2.656 kB / 404.6 MB, free: 39.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.2252, allocations: 72.14 kB / 404.6 MB, free: 39.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2252, allocations: 6.938 kB / 404.6 MB, free: 39.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.2253, allocations: 13.17 kB / 404.7 MB, free: 39.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.2253, allocations: 11.91 kB / 404.7 MB, free: 39.87 MB / 318.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.0001457/0.2255, allocations: 146.8 kB / 404.8 MB, free: 39.73 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.466e-05/0.2256, allocations: 24.59 kB / 404.8 MB, free: 39.72 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004605/0.226, allocations: 254.1 kB / 405.1 MB, free: 39.57 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.226, allocations: 2.25 kB / 405.1 MB, free: 39.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2261, allocations: 0 / 405.1 MB, free: 39.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2261, allocations: 3.984 kB / 405.1 MB, free: 39.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007563/0.2268, allocations: 0.6334 MB / 405.7 MB, free: 39.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.2268, allocations: 0 / 405.7 MB, free: 39.03 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002724/0.2271, allocations: 65.8 kB / 405.8 MB, free: 39.01 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.2271, allocations: 1.594 kB / 405.8 MB, free: 39.01 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.2271, allocations: 6.562 kB / 405.8 MB, free: 39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2272, allocations: 1.594 kB / 405.8 MB, free: 39 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.2272, allocations: 1.094 kB / 405.8 MB, free: 39 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005213/0.2277, allocations: 400.1 kB / 406.2 MB, free: 38.73 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.06e-05/0.2278, allocations: 121.5 kB / 406.3 MB, free: 38.61 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.465e-05/0.2278, allocations: 9.375 kB / 406.3 MB, free: 38.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.228, allocations: 9.812 kB / 406.3 MB, free: 38.59 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.2281, allocations: 18.47 kB / 406.4 MB, free: 38.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.2281, allocations: 13.31 kB / 406.4 MB, free: 38.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.2282, allocations: 198 kB / 406.6 MB, free: 38.44 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2283, allocations: 1.219 kB / 406.6 MB, free: 38.44 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004297/0.2287, allocations: 115.5 kB / 406.7 MB, free: 38.41 MB / 318.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.0002393/0.2289, allocations: 182.3 kB / 406.8 MB, free: 38.29 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003823/0.2293, allocations: 185.4 kB / 407 MB, free: 38.21 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2293, allocations: 5.688 kB / 407 MB, free: 38.2 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.2295, allocations: 87.2 kB / 407.1 MB, free: 38.17 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.2299, allocations: 75.39 kB / 407.2 MB, free: 38.12 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008722/0.2308, allocations: 0.6155 MB / 407.8 MB, free: 37.69 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.231, allocations: 0.7585 MB / 408.6 MB, free: 36.95 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001313/0.2311, allocations: 45.02 kB / 408.6 MB, free: 36.93 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.021e-05/0.2312, allocations: 33.58 kB / 408.6 MB, free: 36.92 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2312, allocations: 0 / 408.6 MB, free: 36.92 MB / 318.1 MB Notification: Performance of Templates: time 0.007294/0.2385, allocations: 4.987 MB / 413.6 MB, free: 32.73 MB / 318.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 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe 2>&1)