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.001393/0.001393, allocations: 100.3 kB / 16.27 MB, free: 5.961 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.001415/0.001415, allocations: 188.1 kB / 17.19 MB, free: 5.594 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.327/1.327, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05515/0.05515, allocations: 11.85 MB / 282.3 MB, free: 308 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.00174/0.001741, allocations: 75.81 kB / 342.5 MB, free: 3.945 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2236, allocations: 49.22 MB / 391.7 MB, free: 49.05 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.00351/0.2271, allocations: 2.891 MB / 394.6 MB, free: 47.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002394/0.2295, allocations: 2.002 MB / 396.6 MB, free: 45.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.2297, allocations: 11.44 kB / 396.6 MB, free: 45.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002587/0.23, allocations: 56.22 kB / 396.7 MB, free: 45.55 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003907/0.2304, allocations: 151.4 kB / 396.8 MB, free: 45.45 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008227/0.2312, allocations: 379.6 kB / 397.2 MB, free: 45.28 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003509/0.2316, allocations: 370.2 kB / 397.6 MB, free: 45.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.2318, allocations: 90.14 kB / 397.6 MB, free: 45.05 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.232, allocations: 137 kB / 397.8 MB, free: 44.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.2322, allocations: 148.4 kB / 397.9 MB, free: 44.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.197e-05/0.2322, allocations: 23.84 kB / 397.9 MB, free: 44.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004376/0.2327, allocations: 248 kB / 398.2 MB, free: 44.85 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.606e-05/0.2327, allocations: 63.34 kB / 398.2 MB, free: 44.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.2329, allocations: 151.6 kB / 398.4 MB, free: 44.72 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005271/0.2334, allocations: 451 kB / 398.8 MB, free: 44.54 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2334, allocations: 1.156 kB / 398.8 MB, free: 44.54 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2334, allocations: 0 / 398.8 MB, free: 44.54 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.2335, allocations: 4 kB / 398.8 MB, free: 44.54 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.0006971/0.2342, allocations: 0.5894 MB / 399.4 MB, free: 44.03 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.2342, allocations: 13.55 kB / 399.4 MB, free: 44.03 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.2343, allocations: 38.58 kB / 399.5 MB, free: 44.01 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.2346, allocations: 264.7 kB / 399.7 MB, free: 43.76 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.2346, allocations: 18 kB / 399.8 MB, free: 43.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/0.2346, allocations: 27.47 kB / 399.8 MB, free: 43.74 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004303/0.2351, allocations: 277.2 kB / 400.1 MB, free: 43.6 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.2351, allocations: 3.938 kB / 400.1 MB, free: 43.6 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.2351, allocations: 10.88 kB / 400.1 MB, free: 43.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.2352, allocations: 5.656 kB / 400.1 MB, free: 43.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003771/0.2355, allocations: 221.6 kB / 400.3 MB, free: 43.51 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.001534/0.2371, allocations: 1.442 MB / 401.7 MB, free: 42.13 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.2373, allocations: 157.6 kB / 401.9 MB, free: 42.04 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.2375, allocations: 76.59 kB / 402 MB, free: 42 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000139/0.2376, allocations: 168.1 kB / 402.1 MB, free: 41.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.2377, allocations: 35.91 kB / 402.2 MB, free: 41.76 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/0.2377, allocations: 0 / 402.2 MB, free: 41.76 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001644/0.2393, allocations: 0.7366 MB / 402.9 MB, free: 41.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/0.2394, allocations: 54.69 kB / 402.9 MB, free: 41.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.2396, allocations: 262.8 kB / 403.2 MB, free: 41 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.2396, allocations: 30.64 kB / 403.2 MB, free: 40.96 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.853e-05/0.2397, allocations: 160.6 kB / 403.4 MB, free: 40.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.2397, allocations: 75.48 kB / 403.5 MB, free: 40.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.413e-05/0.2398, allocations: 53.12 kB / 403.5 MB, free: 40.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.165e-05/0.2399, allocations: 339.2 kB / 403.8 MB, free: 40.38 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.24, allocations: 84.94 kB / 403.9 MB, free: 40.33 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.2402, allocations: 128.9 kB / 404.1 MB, free: 40.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/0.2405, allocations: 209.7 kB / 404.3 MB, free: 40.08 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2405, allocations: 1.094 kB / 404.3 MB, free: 40.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004482/0.241, allocations: 261.3 kB / 404.5 MB, free: 39.94 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.241, allocations: 6.062 kB / 404.5 MB, free: 39.94 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.241, allocations: 1.469 kB / 404.5 MB, free: 39.94 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.241, allocations: 3.375 kB / 404.5 MB, free: 39.94 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.2413, allocations: 72.33 kB / 404.6 MB, free: 39.92 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.2413, allocations: 2.25 kB / 404.6 MB, free: 39.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.2415, allocations: 9.766 kB / 404.6 MB, free: 39.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.2415, allocations: 11.44 kB / 404.6 MB, free: 39.91 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.000155/0.2417, allocations: 152.4 kB / 404.8 MB, free: 39.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.155e-05/0.2417, allocations: 25.19 kB / 404.8 MB, free: 39.76 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004581/0.2422, allocations: 252.4 kB / 405 MB, free: 39.61 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.2422, allocations: 7.438 kB / 405.1 MB, free: 39.6 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2422, allocations: 0 / 405.1 MB, free: 39.6 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2422, allocations: 0 / 405.1 MB, free: 39.6 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007652/0.243, allocations: 0.6256 MB / 405.7 MB, free: 39.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.243, allocations: 0 / 405.7 MB, free: 39.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.2433, allocations: 62.2 kB / 405.7 MB, free: 39.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.2433, allocations: 1.969 kB / 405.7 MB, free: 39.05 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.2433, allocations: 10.22 kB / 405.7 MB, free: 39.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.2433, allocations: 1.75 kB / 405.8 MB, free: 39.05 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2433, allocations: 3.938 kB / 405.8 MB, free: 39.04 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005398/0.2439, allocations: 400.4 kB / 406.1 MB, free: 38.77 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.455e-05/0.2439, allocations: 117.5 kB / 406.3 MB, free: 38.65 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/0.244, allocations: 9.844 kB / 406.3 MB, free: 38.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.2442, allocations: 14.36 kB / 406.3 MB, free: 38.63 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.2442, allocations: 13.77 kB / 406.3 MB, free: 38.62 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.2442, allocations: 9.719 kB / 406.3 MB, free: 38.62 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001557/0.2444, allocations: 198.6 kB / 406.5 MB, free: 38.49 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2444, allocations: 0 / 406.5 MB, free: 38.49 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000486/0.2449, allocations: 111.6 kB / 406.6 MB, free: 38.46 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.0002693/0.2452, allocations: 202 kB / 406.8 MB, free: 38.32 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000421/0.2456, allocations: 195.8 kB / 407 MB, free: 38.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2456, allocations: 0 / 407 MB, free: 38.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.2458, allocations: 88.94 kB / 407.1 MB, free: 38.2 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.2462, allocations: 75.52 kB / 407.2 MB, free: 38.15 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009518/0.2472, allocations: 0.6483 MB / 407.8 MB, free: 37.68 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.2473, allocations: 0.7573 MB / 408.6 MB, free: 36.95 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.143e-05/0.2474, allocations: 30.94 kB / 408.6 MB, free: 36.93 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2474, allocations: 5.562 kB / 408.6 MB, free: 36.93 MB / 318.1 MB Notification: Performance of Templates: time 0.005484/0.2529, allocations: 4.548 MB / 413.1 MB, free: 33.17 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 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe 2>&1)