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.001002/0.001002, allocations: 99.47 kB / 16.24 MB, free: 6.34 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.0009734/0.0009734, allocations: 190.2 kB / 17.17 MB, free: 5.945 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.238/1.238, allocations: 205.1 MB / 223 MB, free: 12.36 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05374/0.05374, allocations: 11.85 MB / 282.2 MB, free: 324 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.001421/0.001421, allocations: 67.91 kB / 342.4 MB, free: 3.98 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1992, allocations: 49.22 MB / 391.7 MB, free: 49.04 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.003345/0.2025, allocations: 2.888 MB / 394.5 MB, free: 47.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002237/0.2048, allocations: 2.001 MB / 396.5 MB, free: 45.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.2049, allocations: 3.625 kB / 396.5 MB, free: 45.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.2052, allocations: 61.42 kB / 396.6 MB, free: 45.55 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.2055, allocations: 147 kB / 396.7 MB, free: 45.46 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007685/0.2063, allocations: 387.3 kB / 397.1 MB, free: 45.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000342/0.2067, allocations: 369.4 kB / 397.5 MB, free: 45.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.2069, allocations: 86.16 kB / 397.6 MB, free: 45.05 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.207, allocations: 133 kB / 397.7 MB, free: 44.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.2072, allocations: 148.7 kB / 397.8 MB, free: 44.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.08e-05/0.2073, allocations: 28.47 kB / 397.9 MB, free: 44.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004196/0.2077, allocations: 247.5 kB / 398.1 MB, free: 44.85 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.999e-05/0.2078, allocations: 59.38 kB / 398.2 MB, free: 44.81 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.2079, allocations: 156.1 kB / 398.3 MB, free: 44.72 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005213/0.2084, allocations: 450.6 kB / 398.8 MB, free: 44.54 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2085, allocations: 0 / 398.8 MB, free: 44.54 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2085, allocations: 0 / 398.8 MB, free: 44.54 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.2085, allocations: 0 / 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.0007038/0.2092, allocations: 0.5915 MB / 399.4 MB, free: 44.04 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.2092, allocations: 16.86 kB / 399.4 MB, free: 44.03 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.2093, allocations: 37.61 kB / 399.4 MB, free: 44.01 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.2096, allocations: 268.3 kB / 399.7 MB, free: 43.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.2096, allocations: 18.03 kB / 399.7 MB, free: 43.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.2097, allocations: 27.69 kB / 399.7 MB, free: 43.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004577/0.2101, allocations: 268.3 kB / 400 MB, free: 43.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.2101, allocations: 1.344 kB / 400 MB, free: 43.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.2102, allocations: 13.28 kB / 400 MB, free: 43.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.2102, allocations: 5.688 kB / 400 MB, free: 43.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003894/0.2106, allocations: 222.1 kB / 400.2 MB, free: 43.52 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.001519/0.2121, allocations: 1.454 MB / 401.7 MB, free: 42.12 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.2124, allocations: 146.8 kB / 401.8 MB, free: 42.04 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.2125, allocations: 75.61 kB / 401.9 MB, free: 42 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001434/0.2127, allocations: 172.3 kB / 402.1 MB, free: 41.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.338e-05/0.2127, allocations: 32.78 kB / 402.1 MB, free: 41.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/0.2127, allocations: 0 / 402.1 MB, free: 41.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001691/0.2144, allocations: 0.7281 MB / 402.8 MB, free: 41.26 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.576e-05/0.2144, allocations: 61.83 kB / 402.9 MB, free: 41.19 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.2147, allocations: 266.9 kB / 403.1 MB, free: 41 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.2147, allocations: 31.08 kB / 403.2 MB, free: 40.96 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.501e-05/0.2148, allocations: 156.5 kB / 403.3 MB, free: 40.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/0.2148, allocations: 79.64 kB / 403.4 MB, free: 40.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.586e-05/0.2149, allocations: 52.25 kB / 403.5 MB, free: 40.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.782e-05/0.2149, allocations: 332.2 kB / 403.8 MB, free: 40.38 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.2151, allocations: 87.91 kB / 403.9 MB, free: 40.33 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.2153, allocations: 125.2 kB / 404 MB, free: 40.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003343/0.2156, allocations: 207.5 kB / 404.2 MB, free: 40.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.2156, allocations: 0 / 404.2 MB, free: 40.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004584/0.2161, allocations: 260.4 kB / 404.4 MB, free: 39.95 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.2161, allocations: 5.844 kB / 404.4 MB, free: 39.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2161, allocations: 6.031 kB / 404.5 MB, free: 39.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.2162, allocations: 10.97 kB / 404.5 MB, free: 39.94 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.2165, allocations: 68.7 kB / 404.5 MB, free: 39.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2165, allocations: 2.938 kB / 404.5 MB, free: 39.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.2166, allocations: 12.89 kB / 404.5 MB, free: 39.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.2166, allocations: 8.656 kB / 404.6 MB, free: 39.92 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.0001357/0.2168, allocations: 151.8 kB / 404.7 MB, free: 39.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.301e-05/0.2168, allocations: 33.55 kB / 404.7 MB, free: 39.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004729/0.2173, allocations: 252.5 kB / 405 MB, free: 39.6 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.2173, allocations: 3.938 kB / 405 MB, free: 39.6 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2173, allocations: 0 / 405 MB, free: 39.6 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.143e-05/0.2174, allocations: 123 kB / 405.1 MB, free: 39.47 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.2175, allocations: 1.281 kB / 405.1 MB, free: 39.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.2176, allocations: 17.08 kB / 405.1 MB, free: 39.46 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.2177, allocations: 10.45 kB / 405.1 MB, free: 39.45 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005733/0.2183, allocations: 312 kB / 405.4 MB, free: 39.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005669/0.2189, allocations: 484.7 kB / 405.9 MB, free: 38.9 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001519/0.219, allocations: 82.77 kB / 406 MB, free: 38.86 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001535/0.2192, allocations: 194 kB / 406.2 MB, free: 38.73 MB / 318.1 MB Notification: Performance of Backend: time 3.4e-07/0.2192, allocations: 1.25 kB / 406.2 MB, free: 38.73 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007835/0.22, allocations: 297.4 kB / 406.5 MB, free: 38.56 MB / 318.1 MB Notification: Performance of SimCode: time 0.0009568/0.2209, allocations: 1.083 MB / 407.6 MB, free: 37.65 MB / 318.1 MB Notification: Performance of Templates: time 0.007882/0.2288, allocations: 5.241 MB / 412.8 MB, free: 33.58 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)