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.001243/0.001243, allocations: 100.2 kB / 16.29 MB, free: 6.031 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.001029/0.001029, allocations: 186.7 kB / 17.22 MB, free: 5.641 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.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0571/0.0571, allocations: 11.85 MB / 282.3 MB, free: 304 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.001487/0.001487, allocations: 71.84 kB / 342.5 MB, free: 3.902 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2032, allocations: 49.21 MB / 391.8 MB, free: 48.81 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest2): time 0.005185/0.2084, allocations: 4.352 MB / 396.1 MB, free: 45.74 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003301/0.2117, allocations: 2.153 MB / 398.3 MB, free: 44.21 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003425/0.2121, allocations: 11.16 kB / 398.3 MB, free: 44.21 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004264/0.2125, allocations: 175.6 kB / 398.4 MB, free: 44.12 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.0006789/0.2132, allocations: 353.2 kB / 398.8 MB, free: 43.88 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009582/0.2142, allocations: 458.1 kB / 399.2 MB, free: 43.65 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007784/0.215, allocations: 1.011 MB / 400.2 MB, free: 43.12 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000343/0.2153, allocations: 301.5 kB / 400.5 MB, free: 42.99 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003549/0.2157, allocations: 358.6 kB / 400.9 MB, free: 42.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004126/0.2161, allocations: 416.7 kB / 401.3 MB, free: 42.63 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.475e-05/0.2162, allocations: 64.12 kB / 401.4 MB, free: 42.63 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004716/0.2167, allocations: 275.5 kB / 401.6 MB, free: 42.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.2168, allocations: 180.8 kB / 401.8 MB, free: 42.44 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003393/0.2172, allocations: 417.2 kB / 402.2 MB, free: 42.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009129/0.2181, allocations: 1.043 MB / 403.3 MB, free: 41.46 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2181, allocations: 0 / 403.3 MB, free: 41.46 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2181, allocations: 4.875 kB / 403.3 MB, free: 41.45 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.2181, allocations: 0 / 403.3 MB, free: 41.45 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.001386/0.2195, allocations: 1.038 MB / 404.3 MB, free: 40.61 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.2196, allocations: 17.17 kB / 404.3 MB, free: 40.6 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.2198, allocations: 90.95 kB / 404.4 MB, free: 40.55 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005173/0.2203, allocations: 0.4955 MB / 404.9 MB, free: 40.12 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.99e-05/0.2203, allocations: 48.06 kB / 405 MB, free: 40.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.696e-05/0.2204, allocations: 55.44 kB / 405 MB, free: 40.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008204/0.2212, allocations: 0.5566 MB / 405.6 MB, free: 39.74 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.2213, allocations: 0 / 405.6 MB, free: 39.74 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.429e-05/0.2213, allocations: 20.56 kB / 405.6 MB, free: 39.72 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.2213, allocations: 12.59 kB / 405.6 MB, free: 39.72 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008382/0.2222, allocations: 0.5256 MB / 406.1 MB, free: 39.46 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.002581/0.2248, allocations: 2.833 MB / 409 MB, free: 36.86 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006573/0.2254, allocations: 446.5 kB / 409.4 MB, free: 36.63 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/0.2258, allocations: 204.4 kB / 409.6 MB, free: 36.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.912e-05/0.2259, allocations: 95.17 kB / 409.7 MB, free: 36.42 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.2259, allocations: 40.69 kB / 409.7 MB, free: 36.38 MB / 318.1 MB Notification: Performance of pre-optimization done (n=42): time 1.493e-06/0.2259, allocations: 0 / 409.7 MB, free: 36.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.002145/0.228, allocations: 1.246 MB / 411 MB, free: 35.39 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.2281, allocations: 55.41 kB / 411 MB, free: 35.32 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.0005541/0.2286, allocations: 0.6485 MB / 411.7 MB, free: 34.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.2287, allocations: 37.7 kB / 411.7 MB, free: 34.62 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.2288, allocations: 308.2 kB / 412 MB, free: 34.31 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.803e-05/0.2289, allocations: 157.7 kB / 412.2 MB, free: 34.16 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.229, allocations: 102.1 kB / 412.3 MB, free: 34.05 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.706e-05/0.2291, allocations: 370.8 kB / 412.6 MB, free: 33.68 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/0.2294, allocations: 161 kB / 412.8 MB, free: 33.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002826/0.2296, allocations: 252.2 kB / 413 MB, free: 33.24 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002744/0.2324, allocations: 0.9371 MB / 414 MB, free: 32.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2324, allocations: 0 / 414 MB, free: 32.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007345/0.2332, allocations: 0.5388 MB / 414.5 MB, free: 31.72 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.2332, allocations: 4 kB / 414.5 MB, free: 31.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.2332, allocations: 4 kB / 414.5 MB, free: 31.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.2332, allocations: 4 kB / 414.5 MB, free: 31.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004427/0.2337, allocations: 120.1 kB / 414.6 MB, free: 31.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.2337, allocations: 12 kB / 414.6 MB, free: 31.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.2339, allocations: 15.98 kB / 414.7 MB, free: 31.56 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.234, allocations: 20 kB / 414.7 MB, free: 31.54 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 = 1e5 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.0002482/0.2342, allocations: 248.5 kB / 414.9 MB, free: 31.29 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.377e-05/0.2343, allocations: 63.16 kB / 415 MB, free: 31.23 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008345/0.2352, allocations: 0.5301 MB / 415.5 MB, free: 30.7 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.2352, allocations: 4 kB / 415.5 MB, free: 30.7 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2352, allocations: 0 / 415.5 MB, free: 30.7 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.2352, allocations: 3.984 kB / 415.5 MB, free: 30.69 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.2366, allocations: 1.228 MB / 416.7 MB, free: 29.4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2366, allocations: 0 / 416.7 MB, free: 29.4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004433/0.237, allocations: 111.8 kB / 416.9 MB, free: 29.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.237, allocations: 0 / 416.9 MB, free: 29.29 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/0.2371, allocations: 15.98 kB / 416.9 MB, free: 29.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.2371, allocations: 4 kB / 416.9 MB, free: 29.27 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2371, allocations: 0 / 416.9 MB, free: 29.27 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009414/0.238, allocations: 0.7712 MB / 417.6 MB, free: 28.48 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.2382, allocations: 188.3 kB / 417.8 MB, free: 28.28 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.431e-05/0.2383, allocations: 11.94 kB / 417.8 MB, free: 28.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.2386, allocations: 15.98 kB / 417.9 MB, free: 28.25 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/0.2386, allocations: 32.39 kB / 417.9 MB, free: 28.22 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.2387, allocations: 12 kB / 417.9 MB, free: 28.21 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003824/0.2391, allocations: 471 kB / 418.4 MB, free: 27.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2391, allocations: 4 kB / 418.4 MB, free: 27.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004907/0.2396, allocations: 179.9 kB / 418.5 MB, free: 27.57 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.0008515/0.2404, allocations: 439.6 kB / 419 MB, free: 27.3 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006183/0.2411, allocations: 414.2 kB / 419.4 MB, free: 26.89 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2411, allocations: 0 / 419.4 MB, free: 26.89 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002798/0.2414, allocations: 215.1 kB / 419.6 MB, free: 26.69 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007641/0.2421, allocations: 209.7 kB / 419.8 MB, free: 26.49 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.2438, allocations: 1.405 MB / 421.2 MB, free: 25.05 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.244, allocations: 0.9447 MB / 422.1 MB, free: 24.08 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002978/0.2443, allocations: 121.2 kB / 422.3 MB, free: 23.96 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.2445, allocations: 63.36 kB / 422.3 MB, free: 23.89 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2445, allocations: 0 / 422.3 MB, free: 23.89 MB / 318.1 MB Notification: Performance of Templates: time 0.01416/0.2586, allocations: 10.37 MB / 432.7 MB, free: 13.6 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 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe 2>&1)