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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 109.8 kB / 19.58 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 188.3 kB / 22.85 MB, free: 5.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 207.6 MB / 233.6 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.06058/0.06058, allocations: 12.01 MB / 297.8 MB, free: 9.898 MB / 238.1 MB " [Timeout remaining time 180] 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=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2") translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,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.002263/0.002263, allocations: 79.88 kB / 417.2 MB, free: 42.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06983/0.07209, allocations: 51.93 MB / 469.1 MB, free: 6.426 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.006222/0.07831, allocations: 4.394 MB / 473.5 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003556/0.08187, allocations: 2.175 MB / 475.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002286/0.0821, allocations: 15.94 kB / 475.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005018/0.0826, allocations: 178.7 kB / 475.9 MB, free: 15.63 MB / 350.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.0007446/0.08334, allocations: 361.7 kB / 476.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000967/0.08431, allocations: 450.7 kB / 476.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001124/0.08544, allocations: 1.023 MB / 477.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003422/0.08578, allocations: 180.4 kB / 477.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004702/0.08625, allocations: 382.6 kB / 478.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005782/0.08683, allocations: 430.2 kB / 478.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.08693, allocations: 64 kB / 478.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004598/0.08739, allocations: 259.8 kB / 479 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.08759, allocations: 183.4 kB / 479.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004057/0.088, allocations: 417.9 kB / 479.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.08926, allocations: 1.051 MB / 480.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.08927, allocations: 0 / 480.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.08927, allocations: 0 / 480.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.08928, allocations: 0 / 480.6 MB, free: 10.87 MB / 350.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.001688/0.09096, allocations: 0.987 MB / 481.6 MB, free: 9.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.09101, allocations: 15.98 kB / 481.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000215/0.09122, allocations: 96.41 kB / 481.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000731/0.09196, allocations: 452 kB / 482.2 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.066e-05/0.09201, allocations: 49.25 kB / 482.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.863e-05/0.0921, allocations: 55.95 kB / 482.3 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.09316, allocations: 0.5609 MB / 482.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.09318, allocations: 3.938 kB / 482.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.206e-05/0.09323, allocations: 23.94 kB / 482.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.09325, allocations: 12 kB / 482.9 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.09428, allocations: 0.5283 MB / 483.4 MB, free: 8.035 MB / 350.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.003722/0.098, allocations: 2.62 MB / 486 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008204/0.09883, allocations: 423 kB / 486.4 MB, free: 4.742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/0.09918, allocations: 192.7 kB / 486.6 MB, free: 4.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.715e-05/0.09927, allocations: 11.98 kB / 486.6 MB, free: 4.539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.0993, allocations: 38.56 kB / 486.7 MB, free: 4.492 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.853e-06/0.0993, allocations: 0 / 486.7 MB, free: 4.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002586/0.1019, allocations: 1.183 MB / 487.9 MB, free: 3.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.1019, allocations: 55.41 kB / 487.9 MB, free: 3.203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008125/0.1027, allocations: 0.6446 MB / 488.6 MB, free: 2.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.739e-05/0.1028, allocations: 33.7 kB / 488.6 MB, free: 2.508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/0.103, allocations: 320.5 kB / 488.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.1032, allocations: 162.6 kB / 489.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.1033, allocations: 98.12 kB / 489.2 MB, free: 1.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.1035, allocations: 370.8 kB / 489.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003295/0.1038, allocations: 152.9 kB / 489.7 MB, free: 1.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/0.1043, allocations: 259.5 kB / 489.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003247/0.1075, allocations: 0.9387 MB / 490.9 MB, free: 152 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1075, allocations: 3.938 kB / 490.9 MB, free: 148 kB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001021/0.1085, allocations: 0.5393 MB / 491.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1085, allocations: 4 kB / 491.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.1086, allocations: 4 kB / 491.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1086, allocations: 4 kB / 491.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005356/0.1091, allocations: 120.2 kB / 491.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/0.1091, allocations: 11.94 kB / 491.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002689/0.1094, allocations: 15.97 kB / 491.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.1094, allocations: 20 kB / 491.6 MB, free: 15.42 MB / 366.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.0003534/0.1098, allocations: 243.3 kB / 491.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.1099, allocations: 71.58 kB / 491.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.111, allocations: 0.5221 MB / 492.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.111, allocations: 4 kB / 492.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.111, allocations: 3.984 kB / 492.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.111, allocations: 4 kB / 492.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002005/0.113, allocations: 1.205 MB / 493.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.113, allocations: 0 / 493.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005297/0.1136, allocations: 107.9 kB / 493.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1136, allocations: 4 kB / 493.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.963e-05/0.1136, allocations: 19.92 kB / 493.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.1136, allocations: 4 kB / 493.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1136, allocations: 4 kB / 493.8 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.115, allocations: 0.7765 MB / 494.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002555/0.1152, allocations: 115.5 kB / 494.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.056e-05/0.1153, allocations: 8 kB / 494.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/0.1156, allocations: 15.98 kB / 494.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.38e-05/0.1157, allocations: 32.38 kB / 494.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/0.1157, allocations: 16 kB / 494.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005992/0.1163, allocations: 471 kB / 495.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1163, allocations: 0 / 495.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006083/0.1169, allocations: 183.7 kB / 495.4 MB, free: 11.56 MB / 366.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.001486/0.1184, allocations: 426.1 kB / 495.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008476/0.1193, allocations: 398.8 kB / 496.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1193, allocations: 0 / 496.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003943/0.1197, allocations: 206.4 kB / 496.4 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009045/0.1206, allocations: 206.6 kB / 496.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002436/0.123, allocations: 1.429 MB / 498 MB, free: 8.988 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006396/0.1236, allocations: 0.9411 MB / 498.9 MB, free: 8.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003951/0.124, allocations: 121.2 kB / 499.1 MB, free: 7.902 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.1242, allocations: 59.42 kB / 499.1 MB, free: 7.844 MB / 366.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1242, allocations: 0 / 499.1 MB, free: 7.844 MB / 366.1 MB Notification: Performance of Templates: time 0.02057/0.1448, allocations: 10.85 MB / 0.498 GB, free: 12.99 MB / 382.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 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.596608826002921] Failed to read output from testmodel.py, exit status != 0: 0.1519896290046745 0.168028963 0.075567057 Calling exit ...