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) 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.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 103.9 kB / 16.39 MB, free: 6.383 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.001792/0.001792, allocations: 192.8 kB / 17.33 MB, free: 5.844 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.424/1.424, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.06229/0.06229, allocations: 11.84 MB / 282.4 MB, free: 232 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.002242/0.002242, allocations: 73.09 kB / 393 MB, free: 45.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0737/0.07594, allocations: 49.23 MB / 442.2 MB, free: 2.102 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) as default value. Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.004043/0.07998, allocations: 3.265 MB / 445.5 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00291/0.08289, allocations: 1.828 MB / 447.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.08308, allocations: 4 kB / 447.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003726/0.08346, allocations: 111.2 kB / 447.4 MB, free: 12.86 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.0004774/0.08393, allocations: 206.7 kB / 447.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007242/0.08466, allocations: 322.8 kB / 447.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000576/0.08523, allocations: 0.4938 MB / 448.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.08544, allocations: 91.45 kB / 448.5 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002351/0.08567, allocations: 171.4 kB / 448.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002977/0.08597, allocations: 207.1 kB / 448.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.312e-05/0.08602, allocations: 32 kB / 448.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003965/0.08642, allocations: 231.8 kB / 449.2 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.08653, allocations: 91.61 kB / 449.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002013/0.08673, allocations: 199 kB / 449.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007949/0.08752, allocations: 0.5799 MB / 450 MB, free: 10.26 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.08753, allocations: 8 kB / 450 MB, free: 10.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.08753, allocations: 0 / 450 MB, free: 10.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.08754, allocations: 0 / 450 MB, free: 10.25 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001131/0.08867, allocations: 0.7044 MB / 450.7 MB, free: 9.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.0887, allocations: 15.89 kB / 450.7 MB, free: 9.484 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.08884, allocations: 40.7 kB / 450.8 MB, free: 9.445 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004476/0.08929, allocations: 331.5 kB / 451.1 MB, free: 9.082 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.497e-05/0.08932, allocations: 32.5 kB / 451.1 MB, free: 9.051 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.822e-05/0.08938, allocations: 28 kB / 451.2 MB, free: 9.023 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005965/0.08998, allocations: 311.7 kB / 451.5 MB, free: 8.707 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.08999, allocations: 0 / 451.5 MB, free: 8.707 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.09002, allocations: 12 kB / 451.5 MB, free: 8.695 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.09003, allocations: 4 kB / 451.5 MB, free: 8.691 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005544/0.09059, allocations: 266 kB / 451.8 MB, free: 8.434 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.002175/0.09276, allocations: 1.47 MB / 453.2 MB, free: 6.801 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004563/0.09322, allocations: 213.4 kB / 453.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.09342, allocations: 92.8 kB / 453.5 MB, free: 6.492 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.09353, allocations: 89.11 kB / 453.6 MB, free: 6.387 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.09356, allocations: 30.56 kB / 453.6 MB, free: 6.348 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.513e-06/0.09356, allocations: 0 / 453.6 MB, free: 6.348 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.002273/0.09583, allocations: 0.8752 MB / 454.5 MB, free: 5.422 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.09588, allocations: 59.34 kB / 454.6 MB, free: 5.352 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004682/0.09634, allocations: 377.7 kB / 454.9 MB, free: 4.969 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.09638, allocations: 33.7 kB / 455 MB, free: 4.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.09653, allocations: 184.7 kB / 455.2 MB, free: 4.746 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.16e-05/0.09662, allocations: 99.17 kB / 455.2 MB, free: 4.648 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.09673, allocations: 58.36 kB / 455.3 MB, free: 4.586 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.09689, allocations: 342.8 kB / 455.6 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/0.09714, allocations: 105.9 kB / 455.7 MB, free: 4.137 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.09741, allocations: 152.7 kB / 455.9 MB, free: 3.961 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000497/0.09791, allocations: 260.9 kB / 456.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.09791, allocations: 0 / 456.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006521/0.09856, allocations: 320.9 kB / 456.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.09858, allocations: 7.938 kB / 456.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.09859, allocations: 7.938 kB / 456.5 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.0986, allocations: 4 kB / 456.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003848/0.09899, allocations: 75.89 kB / 456.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.099, allocations: 4 kB / 456.6 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.09919, allocations: 20.2 kB / 456.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.09921, allocations: 12 kB / 456.6 MB, free: 3.23 MB / 334.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.000235/0.09945, allocations: 169.7 kB / 456.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.864e-05/0.09953, allocations: 35.77 kB / 456.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007449/0.1003, allocations: 317.5 kB / 457.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.1003, allocations: 4 kB / 457.1 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1003, allocations: 3.984 kB / 457.1 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1003, allocations: 3.938 kB / 457.1 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.1015, allocations: 0.7534 MB / 457.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.1015, allocations: 0 / 457.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003703/0.1019, allocations: 71.89 kB / 457.9 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.1019, allocations: 8 kB / 457.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.1019, allocations: 4 kB / 457.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.1019, allocations: 7.984 kB / 458 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1019, allocations: 0 / 458 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008999/0.1028, allocations: 0.4963 MB / 458.5 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/0.103, allocations: 136.9 kB / 458.6 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.308e-05/0.1031, allocations: 15.95 kB / 458.6 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.1033, allocations: 11.98 kB / 458.6 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.253e-05/0.1033, allocations: 23.97 kB / 458.6 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.1033, allocations: 4 kB / 458.6 MB, free: 1.066 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003177/0.1037, allocations: 271.2 kB / 458.9 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1037, allocations: 0 / 458.9 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004914/0.1041, allocations: 119.8 kB / 459 MB, free: 0.6914 MB / 334.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.001433/0.1056, allocations: 420.5 kB / 459.4 MB, free: 416 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005647/0.1061, allocations: 231.7 kB / 459.7 MB, free: 184 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1061, allocations: 3.938 kB / 459.7 MB, free: 180 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002413/0.1064, allocations: 107.9 kB / 459.8 MB, free: 72 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006106/0.107, allocations: 116.6 kB / 459.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.1085, allocations: 0.784 MB / 460.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.1089, allocations: 0.7989 MB / 461.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002166/0.1091, allocations: 59.19 kB / 461.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.1092, allocations: 39.42 kB / 461.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1092, allocations: 0 / 461.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of Templates: time 0.01197/0.1212, allocations: 6.08 MB / 467.6 MB, free: 8.168 MB / 350.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.makefile (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)