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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 207.6 MB / 231.9 MB, free: 3.242 MB / 174.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05799/0.05799, allocations: 12 MB / 296 MB, free: 3.309 MB / 238.1 MB [Timeout remaining time 90] 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=500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2") translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2") [Timeout 660] 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.002322/0.002322, allocations: 71.89 kB / 414.8 MB, free: 9.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3235, allocations: 51.9 MB / 466.7 MB, free: 15.43 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) as default value. Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest2): time 0.007007/0.3305, allocations: 4.374 MB / 471 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004475/0.335, allocations: 2.168 MB / 473.2 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005115/0.3355, allocations: 11.44 kB / 473.2 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006203/0.3361, allocations: 181.5 kB / 473.4 MB, free: 10.1 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.0009791/0.3371, allocations: 364 kB / 473.7 MB, free: 9.797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.3384, allocations: 458.9 kB / 474.2 MB, free: 9.465 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001443/0.3398, allocations: 1.018 MB / 475.2 MB, free: 8.844 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000421/0.3403, allocations: 211.7 kB / 475.4 MB, free: 8.727 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006673/0.3409, allocations: 370 kB / 475.8 MB, free: 8.473 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006796/0.3416, allocations: 422.2 kB / 476.2 MB, free: 8.059 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.3417, allocations: 64 kB / 476.2 MB, free: 7.996 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006489/0.3424, allocations: 267.8 kB / 476.5 MB, free: 7.734 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002179/0.3426, allocations: 183.3 kB / 476.7 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004528/0.343, allocations: 414 kB / 477.1 MB, free: 7.148 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001512/0.3445, allocations: 1.057 MB / 478.2 MB, free: 6.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3446, allocations: 4 kB / 478.2 MB, free: 6.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.3446, allocations: 0 / 478.2 MB, free: 6.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.3446, allocations: 0 / 478.2 MB, free: 6.09 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.001877/0.3464, allocations: 1.058 MB / 479.2 MB, free: 4.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.3465, allocations: 19.88 kB / 479.2 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002282/0.3467, allocations: 92.42 kB / 479.3 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007839/0.3475, allocations: 0.5096 MB / 479.8 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.359e-05/0.3476, allocations: 41.25 kB / 479.9 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-05/0.3477, allocations: 59.95 kB / 479.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.3487, allocations: 0.557 MB / 480.5 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.3487, allocations: 0 / 480.5 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.428e-05/0.3488, allocations: 20 kB / 480.5 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.3488, allocations: 15.98 kB / 480.5 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.3498, allocations: 0.5283 MB / 481.1 MB, free: 3.094 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.003998/0.3538, allocations: 2.828 MB / 483.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000807/0.3546, allocations: 419 kB / 484.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000349/0.355, allocations: 192.7 kB / 484.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001354/0.3551, allocations: 93 kB / 484.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.3551, allocations: 46.28 kB / 484.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 3.196e-06/0.3552, allocations: 0 / 484.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002826/0.358, allocations: 1.253 MB / 485.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.358, allocations: 55.41 kB / 485.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008543/0.3589, allocations: 0.6485 MB / 486.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.3589, allocations: 29.7 kB / 486.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/0.3592, allocations: 332.5 kB / 486.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.3593, allocations: 150.7 kB / 487.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.3595, allocations: 98.12 kB / 487.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002186/0.3597, allocations: 374.8 kB / 487.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000326/0.3601, allocations: 153 kB / 487.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004146/0.3605, allocations: 260.2 kB / 487.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003213/0.3637, allocations: 0.942 MB / 488.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/0.3637, allocations: 4 kB / 488.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001062/0.3648, allocations: 0.5394 MB / 489.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.3648, allocations: 12.03 kB / 489.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.3648, allocations: 4 kB / 489.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.3648, allocations: 4 kB / 489.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/0.3653, allocations: 119.8 kB / 489.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.3653, allocations: 4 kB / 489.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003227/0.3657, allocations: 12 kB / 489.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/0.3657, allocations: 23.98 kB / 489.6 MB, free: 10.03 MB / 350.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.0004567/0.3662, allocations: 248.8 kB / 489.8 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.3663, allocations: 63.58 kB / 489.9 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.3674, allocations: 0.5261 MB / 490.4 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.3674, allocations: 8 kB / 490.4 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3674, allocations: 0 / 490.4 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.3674, allocations: 3.984 kB / 490.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002129/0.3696, allocations: 1.221 MB / 491.7 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.3696, allocations: 3.984 kB / 491.7 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005098/0.3701, allocations: 119.8 kB / 491.8 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3701, allocations: 0 / 491.8 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/0.3701, allocations: 8 kB / 491.8 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-06/0.3701, allocations: 4 kB / 491.8 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3701, allocations: 0 / 491.8 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.3714, allocations: 0.7766 MB / 492.6 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000291/0.3717, allocations: 192.7 kB / 492.8 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.485e-05/0.3718, allocations: 16 kB / 492.8 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.3721, allocations: 12 kB / 492.8 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.405e-05/0.3722, allocations: 28.39 kB / 492.8 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.34e-05/0.3722, allocations: 19.98 kB / 492.8 MB, free: 6.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006233/0.3728, allocations: 467 kB / 493.3 MB, free: 6.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3728, allocations: 0 / 493.3 MB, free: 6.234 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006802/0.3735, allocations: 187.7 kB / 493.5 MB, free: 6.051 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.001564/0.3751, allocations: 432.9 kB / 493.9 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008958/0.3759, allocations: 398.2 kB / 494.3 MB, free: 5.301 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.376, allocations: 0 / 494.3 MB, free: 5.301 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003741/0.3763, allocations: 198.4 kB / 494.5 MB, free: 5.109 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009655/0.3773, allocations: 211.3 kB / 494.7 MB, free: 4.902 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002818/0.3801, allocations: 1.479 MB / 496.2 MB, free: 3.387 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006976/0.3808, allocations: 0.9293 MB / 497.1 MB, free: 2.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002266/0.381, allocations: 71.41 kB / 497.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of SimCode: time 1.292e-06/0.381, allocations: 0 / 497.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of Templates: time 0.01885/0.3999, allocations: 10.36 MB / 0.4956 GB, free: 7.984 MB / 366.1 MB [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.makefile [Timeout 660] (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) [Timeout 480]