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.005448/0.005448, allocations: 100.2 kB / 15.73 MB, free: 6.48 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.001193/0.001193, allocations: 189 kB / 16.67 MB, free: 6.367 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.453/1.453, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05901/0.05901, allocations: 11.83 MB / 281.7 MB, free: 9.348 MB / 238.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.001715/0.001715, allocations: 71.91 kB / 392.3 MB, free: 3.477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3127, allocations: 49.23 MB / 441.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest2): time 0.005716/0.3185, allocations: 4.351 MB / 445.9 MB, free: 1.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004298/0.3228, allocations: 2.156 MB / 448.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009761/0.3238, allocations: 10.69 kB / 448.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007746/0.3247, allocations: 183.9 kB / 448.3 MB, free: 15.7 MB / 334.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.001336/0.326, allocations: 348.9 kB / 448.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001546/0.3276, allocations: 457 kB / 449.1 MB, free: 15.19 MB / 334.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 NFFlatten.flatten: time 0.001858/0.3294, allocations: 1.009 MB / 450.1 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005402/0.33, allocations: 312.8 kB / 450.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007959/0.3308, allocations: 360.6 kB / 450.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008483/0.3317, allocations: 414.3 kB / 451.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000181/0.3319, allocations: 64.94 kB / 451.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000823/0.3327, allocations: 271.1 kB / 451.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002358/0.3329, allocations: 183.2 kB / 451.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007006/0.3336, allocations: 420.7 kB / 452 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001697/0.3354, allocations: 1.049 MB / 453.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3354, allocations: 0 / 453.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3354, allocations: 0 / 453.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.987e-05/0.3354, allocations: 0 / 453.1 MB, free: 12.73 MB / 334.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.002181/0.3376, allocations: 1.064 MB / 454.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.3377, allocations: 16.45 kB / 454.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002952/0.338, allocations: 88.3 kB / 454.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008445/0.3388, allocations: 0.5065 MB / 454.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.601e-05/0.3389, allocations: 48.44 kB / 454.8 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.008e-05/0.339, allocations: 55.36 kB / 454.9 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.3401, allocations: 0.556 MB / 455.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.3401, allocations: 0 / 455.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.306e-05/0.3402, allocations: 24.34 kB / 455.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.3402, allocations: 13.12 kB / 455.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.3412, allocations: 0.529 MB / 456 MB, free: 10.69 MB / 334.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.003861/0.3451, allocations: 2.832 MB / 458.8 MB, free: 8.094 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008127/0.3459, allocations: 439.9 kB / 459.2 MB, free: 7.871 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003578/0.3463, allocations: 200.5 kB / 459.4 MB, free: 7.766 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/0.3464, allocations: 103.3 kB / 459.5 MB, free: 7.656 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.3465, allocations: 37.03 kB / 459.6 MB, free: 7.613 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 2.334e-06/0.3465, allocations: 0 / 459.6 MB, free: 7.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002879/0.3494, allocations: 1.25 MB / 460.8 MB, free: 6.801 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.3494, allocations: 59.91 kB / 460.9 MB, free: 6.734 MB / 334.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.0009507/0.3504, allocations: 0.648 MB / 461.5 MB, free: 6.359 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.825e-05/0.3505, allocations: 36.48 kB / 461.6 MB, free: 6.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/0.3507, allocations: 323.8 kB / 461.9 MB, free: 6.035 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.3509, allocations: 153.3 kB / 462 MB, free: 5.902 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.351, allocations: 95.47 kB / 462.1 MB, free: 5.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.3512, allocations: 378 kB / 462.5 MB, free: 5.477 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003408/0.3516, allocations: 158.7 kB / 462.7 MB, free: 5.398 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004142/0.352, allocations: 256.5 kB / 462.9 MB, free: 5.199 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003272/0.3553, allocations: 0.9379 MB / 463.8 MB, free: 4.449 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3553, allocations: 0 / 463.8 MB, free: 4.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001042/0.3563, allocations: 0.5432 MB / 464.4 MB, free: 3.898 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.3564, allocations: 8 kB / 464.4 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.3564, allocations: 0 / 464.4 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.3564, allocations: 11.94 kB / 464.4 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000498/0.3569, allocations: 115.9 kB / 464.5 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.3569, allocations: 7.938 kB / 464.5 MB, free: 3.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003525/0.3573, allocations: 19.98 kB / 464.5 MB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.011e-05/0.3574, allocations: 20 kB / 464.6 MB, free: 3.719 MB / 334.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.0003697/0.3577, allocations: 237.7 kB / 464.8 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.3578, allocations: 67.58 kB / 464.9 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/0.3589, allocations: 0.5261 MB / 465.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.3589, allocations: 7.984 kB / 465.4 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3589, allocations: 0 / 465.4 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.3589, allocations: 4 kB / 465.4 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.3608, allocations: 1.225 MB / 466.6 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.3608, allocations: 0 / 466.6 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004898/0.3613, allocations: 107.9 kB / 466.7 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.3614, allocations: 4 kB / 466.7 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.879e-05/0.3614, allocations: 19.98 kB / 466.8 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3614, allocations: 0 / 466.8 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3614, allocations: 0 / 466.8 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.3627, allocations: 0.7844 MB / 467.5 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002568/0.363, allocations: 184.7 kB / 467.7 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.47e-05/0.3631, allocations: 12 kB / 467.7 MB, free: 452 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.3633, allocations: 20.02 kB / 467.8 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.389e-05/0.3634, allocations: 32.38 kB / 467.8 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.3634, allocations: 19.98 kB / 467.8 MB, free: 380 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005484/0.364, allocations: 463.1 kB / 468.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.364, allocations: 0 / 468.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005819/0.3646, allocations: 183.7 kB / 468.4 MB, free: 15.75 MB / 350.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.0009749/0.3656, allocations: 438.8 kB / 468.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007845/0.3664, allocations: 418.2 kB / 469.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3664, allocations: 0 / 469.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003638/0.3668, allocations: 214.4 kB / 469.5 MB, free: 14.76 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008505/0.3676, allocations: 219.3 kB / 469.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.3698, allocations: 1.43 MB / 471.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/0.3703, allocations: 0.9332 MB / 472.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003536/0.3706, allocations: 117.2 kB / 472.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.3708, allocations: 59.42 kB / 472.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3708, allocations: 0 / 472.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of Templates: time 0.01823/0.389, allocations: 10.49 MB / 482.7 MB, free: 1.461 MB / 350.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)