Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.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.001251/0.001251, allocations: 108.9 kB / 19.96 MB, free: 1.883 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.001272/0.001272, allocations: 185.7 kB / 23.28 MB, free: 4.992 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.352/1.352, allocations: 207.6 MB / 234.1 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.05923/0.05923, allocations: 12.03 MB / 298.4 MB, free: 9.723 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.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") [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.002213/0.002213, allocations: 71.89 kB / 418.1 MB, free: 42.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06952/0.07174, allocations: 51.94 MB / 470 MB, free: 6.312 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.CheckValveTest): time 0.005073/0.07681, allocations: 3.304 MB / 473.3 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003108/0.07992, allocations: 1.859 MB / 475.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002367/0.08015, allocations: 4 kB / 475.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003887/0.08054, allocations: 107.2 kB / 475.3 MB, free: 1.016 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.0005146/0.08106, allocations: 202.7 kB / 475.5 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007615/0.08182, allocations: 330.8 kB / 475.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005578/0.08238, allocations: 0.49 MB / 476.3 MB, free: 4 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002047/0.08258, allocations: 83.45 kB / 476.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.08282, allocations: 175.3 kB / 476.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003441/0.08317, allocations: 207.1 kB / 476.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.847e-05/0.08322, allocations: 32 kB / 476.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004212/0.08365, allocations: 231.8 kB / 477 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.08375, allocations: 91.62 kB / 477.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002037/0.08396, allocations: 210.9 kB / 477.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007845/0.08474, allocations: 0.576 MB / 477.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.08474, allocations: 0 / 477.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.08474, allocations: 0 / 477.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.08475, allocations: 0 / 477.9 MB, free: 14.41 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001091/0.08584, allocations: 0.7083 MB / 478.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.08587, allocations: 11.89 kB / 478.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.08601, allocations: 48.7 kB / 478.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004144/0.08642, allocations: 327.5 kB / 479 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.08646, allocations: 24.5 kB / 479 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.431e-05/0.08651, allocations: 28 kB / 479 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005869/0.0871, allocations: 319.6 kB / 479.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.08711, allocations: 4 kB / 479.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.663e-05/0.08716, allocations: 12 kB / 479.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.08717, allocations: 12 kB / 479.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005462/0.08772, allocations: 258.1 kB / 479.6 MB, free: 12.58 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.002053/0.08977, allocations: 1.47 MB / 481.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000455/0.09023, allocations: 214.5 kB / 481.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.09043, allocations: 88.81 kB / 481.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.09054, allocations: 89.53 kB / 481.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.09056, allocations: 30.56 kB / 481.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.352e-06/0.09056, allocations: 0 / 481.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.002319/0.09288, allocations: 0.8752 MB / 482.4 MB, free: 9.562 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.09292, allocations: 59.34 kB / 482.4 MB, free: 9.492 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004507/0.09337, allocations: 369.7 kB / 482.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.0934, allocations: 33.7 kB / 482.8 MB, free: 9.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.09355, allocations: 188.7 kB / 483 MB, free: 8.895 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.15e-05/0.09363, allocations: 95.17 kB / 483.1 MB, free: 8.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.09374, allocations: 61.92 kB / 483.1 MB, free: 8.734 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.0939, allocations: 346.8 kB / 483.5 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/0.09415, allocations: 101.9 kB / 483.6 MB, free: 8.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002855/0.09443, allocations: 168.5 kB / 483.7 MB, free: 8.094 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005172/0.09495, allocations: 252.8 kB / 484 MB, free: 7.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.09495, allocations: 4 kB / 484 MB, free: 7.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006784/0.09563, allocations: 313 kB / 484.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.09565, allocations: 10.97 kB / 484.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.09565, allocations: 3.938 kB / 484.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.09567, allocations: 4 kB / 484.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/0.09605, allocations: 88.09 kB / 484.4 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.09606, allocations: 4 kB / 484.4 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.09625, allocations: 12 kB / 484.4 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.09627, allocations: 15.92 kB / 484.4 MB, free: 7.371 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of rotation of pump\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (checkValve.variableRestriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0002224/0.0965, allocations: 177.6 kB / 484.6 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.488e-05/0.09657, allocations: 35.77 kB / 484.6 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007369/0.09731, allocations: 313.4 kB / 485 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.09731, allocations: 4 kB / 485 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.09732, allocations: 0 / 485 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.09732, allocations: 0 / 485 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.09855, allocations: 0.7529 MB / 485.7 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.09855, allocations: 4 kB / 485.7 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004036/0.09895, allocations: 79.88 kB / 485.8 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.09896, allocations: 4 kB / 485.8 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.09898, allocations: 4 kB / 485.8 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.09899, allocations: 4 kB / 485.8 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.09899, allocations: 0 / 485.8 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009199/0.09991, allocations: 0.504 MB / 486.3 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.1001, allocations: 132.9 kB / 486.4 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.755e-05/0.1001, allocations: 11.89 kB / 486.4 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.1003, allocations: 15.98 kB / 486.5 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-05/0.1004, allocations: 19.95 kB / 486.5 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.1004, allocations: 12 kB / 486.5 MB, free: 5.203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000329/0.1008, allocations: 275.2 kB / 486.8 MB, free: 4.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1008, allocations: 0 / 486.8 MB, free: 4.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004644/0.1012, allocations: 115.9 kB / 486.9 MB, free: 4.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m) * 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 (30): * Single equations (assignments): 30 * 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.001464/0.1027, allocations: 426.5 kB / 487.3 MB, free: 4.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005939/0.1033, allocations: 219.8 kB / 487.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1033, allocations: 0 / 487.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002582/0.1035, allocations: 116.3 kB / 487.6 MB, free: 4.168 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005909/0.1041, allocations: 112.4 kB / 487.7 MB, free: 4.062 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.1056, allocations: 0.7831 MB / 488.5 MB, free: 3.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.106, allocations: 0.7989 MB / 489.3 MB, free: 2.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002166/0.1062, allocations: 51.25 kB / 489.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.1063, allocations: 43.42 kB / 489.4 MB, free: 2.332 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1063, allocations: 3.938 kB / 489.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of Templates: time 0.0122/0.1185, allocations: 6.243 MB / 495.7 MB, free: 12.1 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.319370280019939] Failed to read output from testmodel.py, exit status != 0: 0.12585697599570267 0.14101182 0.053229598 Calling exit ...