Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.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.CheckValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2") translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 110.4 kB / 16.27 MB, free: 6.352 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.001274/0.001274, allocations: 190.2 kB / 17.2 MB, free: 5.953 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.267/1.267, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05123/0.05123, 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.001523/0.001523, allocations: 87.73 kB / 342.5 MB, free: 3.934 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2147, allocations: 49.21 MB / 391.7 MB, free: 49.35 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest2): time 0.005015/0.2198, allocations: 4.349 MB / 396.1 MB, free: 46.28 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00322/0.223, allocations: 2.157 MB / 398.2 MB, free: 44.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003855/0.2234, allocations: 12.06 kB / 398.2 MB, free: 44.74 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005387/0.224, allocations: 171.2 kB / 398.4 MB, free: 44.66 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0007418/0.2248, allocations: 353.3 kB / 398.7 MB, free: 44.42 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.2259, allocations: 452.6 kB / 399.2 MB, free: 44.19 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009266/0.2268, allocations: 1.02 MB / 400.2 MB, free: 43.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004092/0.2272, allocations: 288.7 kB / 400.5 MB, free: 43.54 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004029/0.2277, allocations: 361.5 kB / 400.8 MB, free: 43.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003993/0.2281, allocations: 420 kB / 401.2 MB, free: 43.08 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.724e-05/0.2282, allocations: 64.44 kB / 401.3 MB, free: 43.08 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004854/0.2287, allocations: 270.8 kB / 401.6 MB, free: 42.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.2288, allocations: 183.1 kB / 401.8 MB, free: 42.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003089/0.2291, allocations: 417.3 kB / 402.2 MB, free: 42.56 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008774/0.23, allocations: 1.035 MB / 403.2 MB, free: 41.86 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.23, allocations: 1.062 kB / 403.2 MB, free: 41.86 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.23, allocations: 4 kB / 403.2 MB, free: 41.85 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.2301, allocations: 0 / 403.2 MB, free: 41.85 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001451/0.2315, allocations: 1.037 MB / 404.2 MB, free: 41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.2316, allocations: 13.95 kB / 404.3 MB, free: 41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002208/0.2318, allocations: 90.73 kB / 404.3 MB, free: 40.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005755/0.2324, allocations: 0.4959 MB / 404.8 MB, free: 40.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.325e-05/0.2324, allocations: 56.94 kB / 404.9 MB, free: 40.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.644e-05/0.2325, allocations: 54.66 kB / 404.9 MB, free: 40.46 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000871/0.2334, allocations: 0.5563 MB / 405.5 MB, free: 40.13 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.2334, allocations: 0 / 405.5 MB, free: 40.13 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.846e-05/0.2335, allocations: 21.09 kB / 405.5 MB, free: 40.12 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.2335, allocations: 12.28 kB / 405.5 MB, free: 40.12 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008469/0.2344, allocations: 0.5258 MB / 406.1 MB, free: 39.85 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.002763/0.2371, allocations: 2.843 MB / 408.9 MB, free: 37.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006789/0.2378, allocations: 445.4 kB / 409.3 MB, free: 37.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/0.2381, allocations: 205.9 kB / 409.5 MB, free: 36.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.081e-05/0.2382, allocations: 97.73 kB / 409.6 MB, free: 36.81 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.2383, allocations: 32.91 kB / 409.7 MB, free: 36.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=42): time 1.643e-06/0.2383, allocations: 1.188 kB / 409.7 MB, free: 36.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.002201/0.2405, allocations: 1.246 MB / 410.9 MB, free: 35.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.2405, allocations: 55.41 kB / 411 MB, free: 35.59 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sinusoid.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005796/0.2411, allocations: 0.6485 MB / 411.6 MB, free: 34.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.2412, allocations: 37.7 kB / 411.7 MB, free: 34.89 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.2413, allocations: 316.1 kB / 412 MB, free: 34.58 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.556e-05/0.2414, allocations: 153.7 kB / 412.1 MB, free: 34.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.2415, allocations: 94.14 kB / 412.2 MB, free: 34.33 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.456e-05/0.2416, allocations: 374.8 kB / 412.6 MB, free: 33.95 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.2418, allocations: 157 kB / 412.7 MB, free: 33.8 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/0.2421, allocations: 256.1 kB / 413 MB, free: 33.51 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002706/0.2448, allocations: 0.9449 MB / 413.9 MB, free: 32.53 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2449, allocations: 0 / 413.9 MB, free: 32.53 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007426/0.2456, allocations: 0.5352 MB / 414.5 MB, free: 31.99 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.2456, allocations: 8.031 kB / 414.5 MB, free: 31.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.2457, allocations: 4 kB / 414.5 MB, free: 31.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.2457, allocations: 4 kB / 414.5 MB, free: 31.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004321/0.2461, allocations: 123.7 kB / 414.6 MB, free: 31.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.2461, allocations: 4 kB / 414.6 MB, free: 31.85 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002541/0.2464, allocations: 19.98 kB / 414.6 MB, free: 31.83 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/0.2464, allocations: 24 kB / 414.6 MB, free: 31.8 MB / 318.1 MB Warning: Assuming fixed start value for the following 1 variables: j1.volumeClosed.port[2].p:VARIABLE(flow=false min = 0.0 start = j1.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 2 (checkValve1.variableRestriction.data.zetaLaminarKnown,checkValve.variableRestriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.0002776/0.2467, allocations: 249.8 kB / 414.9 MB, free: 31.55 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.709e-05/0.2468, allocations: 63.16 kB / 414.9 MB, free: 31.49 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008375/0.2477, allocations: 0.5223 MB / 415.5 MB, free: 30.97 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/0.2477, allocations: 4 kB / 415.5 MB, free: 30.96 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2477, allocations: 0 / 415.5 MB, free: 30.96 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.2477, allocations: 3.984 kB / 415.5 MB, free: 30.96 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.2491, allocations: 1.228 MB / 416.7 MB, free: 29.67 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2491, allocations: 4 kB / 416.7 MB, free: 29.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004219/0.2495, allocations: 107.9 kB / 416.8 MB, free: 29.56 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.2496, allocations: 0 / 416.8 MB, free: 29.56 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.2496, allocations: 15.98 kB / 416.8 MB, free: 29.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.2496, allocations: 4 kB / 416.8 MB, free: 29.54 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2496, allocations: 0 / 416.8 MB, free: 29.54 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009338/0.2505, allocations: 0.7751 MB / 417.6 MB, free: 28.75 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.2507, allocations: 184.3 kB / 417.8 MB, free: 28.55 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.3e-05/0.2508, allocations: 12 kB / 417.8 MB, free: 28.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.2511, allocations: 19.98 kB / 417.8 MB, free: 28.52 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/0.2511, allocations: 24.39 kB / 417.8 MB, free: 28.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.2512, allocations: 16 kB / 417.9 MB, free: 28.48 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003804/0.2515, allocations: 467 kB / 418.3 MB, free: 28.03 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2515, allocations: 0 / 418.3 MB, free: 28.03 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005328/0.2521, allocations: 183.9 kB / 418.5 MB, free: 27.85 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (circuitTank.volumeOpen.m,speed.phi,speed.w,j1.volumeClosed.port[2].p) * 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 (49): * Single equations (assignments): 49 * 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.0008768/0.253, allocations: 440.1 kB / 418.9 MB, free: 27.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007875/0.2538, allocations: 458.1 kB / 419.4 MB, free: 27.12 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2538, allocations: 0 / 419.4 MB, free: 27.12 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000275/0.2541, allocations: 214.3 kB / 419.6 MB, free: 26.92 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007684/0.2548, allocations: 215.9 kB / 419.8 MB, free: 26.71 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.2566, allocations: 1.458 MB / 421.2 MB, free: 25.22 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.2569, allocations: 0.937 MB / 422.2 MB, free: 24.25 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.257, allocations: 67.41 kB / 422.2 MB, free: 24.19 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.257, allocations: 0 / 422.2 MB, free: 24.19 MB / 318.1 MB Notification: Performance of Templates: time 0.0107/0.2677, allocations: 10.21 MB / 432.5 MB, free: 14.02 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe 2>&1)