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.001162/0.001161, allocations: 109.2 kB / 16.42 MB, free: 6.504 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.001402/0.001402, allocations: 183.9 kB / 17.34 MB, free: 5.738 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.381/1.381, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05411/0.05411, allocations: 11.84 MB / 282.4 MB, free: 208 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.001585/0.001585, allocations: 68.77 kB / 393 MB, free: 45.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09144/0.09303, allocations: 49.23 MB / 442.2 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.004883/0.09795, allocations: 3.252 MB / 445.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003499/0.1015, allocations: 1.832 MB / 447.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003892/0.1019, allocations: 7.938 kB / 447.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005326/0.1025, allocations: 99.3 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.0007537/0.1033, allocations: 206.7 kB / 447.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009607/0.1043, allocations: 330.8 kB / 448 MB, free: 12.33 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.0007488/0.105, allocations: 0.49 MB / 448.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002787/0.1053, allocations: 115.5 kB / 448.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003579/0.1057, allocations: 179.3 kB / 448.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004513/0.1061, allocations: 203.2 kB / 448.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.256e-05/0.1062, allocations: 32 kB / 449 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005655/0.1068, allocations: 227.8 kB / 449.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.107, allocations: 87.67 kB / 449.3 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003532/0.1073, allocations: 207 kB / 449.5 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001/0.1083, allocations: 0.5764 MB / 450 MB, free: 10.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1084, allocations: 0 / 450 MB, free: 10.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1084, allocations: 4 kB / 450 MB, free: 10.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.923e-05/0.1084, allocations: 0 / 450 MB, free: 10.23 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.001754/0.1102, allocations: 0.6856 MB / 450.7 MB, free: 9.492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1102, allocations: 19.88 kB / 450.8 MB, free: 9.473 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/0.1104, allocations: 40.47 kB / 450.8 MB, free: 9.434 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005409/0.111, allocations: 327.4 kB / 451.1 MB, free: 9.074 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.788e-05/0.111, allocations: 32.38 kB / 451.1 MB, free: 9.043 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-05/0.1111, allocations: 28 kB / 451.2 MB, free: 9.016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005976/0.1117, allocations: 319.6 kB / 451.5 MB, free: 8.691 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.1117, allocations: 0 / 451.5 MB, free: 8.691 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.1118, allocations: 8 kB / 451.5 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.1118, allocations: 8 kB / 451.5 MB, free: 8.676 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005304/0.1123, allocations: 270.1 kB / 451.8 MB, free: 8.414 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.002207/0.1145, allocations: 1.461 MB / 453.2 MB, free: 6.789 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004175/0.115, allocations: 236.5 kB / 453.5 MB, free: 6.555 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.1152, allocations: 92.83 kB / 453.5 MB, free: 6.461 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.1153, allocations: 97.08 kB / 453.6 MB, free: 6.348 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.1153, allocations: 30.56 kB / 453.7 MB, free: 6.309 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.984e-06/0.1153, allocations: 0 / 453.7 MB, free: 6.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.002111/0.1175, allocations: 0.859 MB / 454.5 MB, free: 5.398 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.1175, allocations: 63.34 kB / 454.6 MB, free: 5.324 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.0004389/0.118, allocations: 377.6 kB / 455 MB, free: 4.941 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/0.118, allocations: 33.7 kB / 455 MB, free: 4.902 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.1182, allocations: 184.5 kB / 455.2 MB, free: 4.719 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.308e-05/0.1182, allocations: 94.66 kB / 455.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.814e-05/0.1183, allocations: 57.88 kB / 455.3 MB, free: 4.562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1185, allocations: 346.8 kB / 455.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/0.1188, allocations: 105.9 kB / 455.8 MB, free: 4.109 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.119, allocations: 148.7 kB / 455.9 MB, free: 3.938 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004667/0.1195, allocations: 249 kB / 456.2 MB, free: 3.668 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.1195, allocations: 4 kB / 456.2 MB, free: 3.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006142/0.1202, allocations: 321.2 kB / 456.5 MB, free: 3.344 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1202, allocations: 4 kB / 456.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1202, allocations: 4 kB / 456.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.1202, allocations: 7.938 kB / 456.5 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/0.1206, allocations: 88.03 kB / 456.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.1206, allocations: 11.94 kB / 456.6 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.1208, allocations: 8 kB / 456.6 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.1208, allocations: 15.98 kB / 456.6 MB, free: 3.207 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.0002211/0.1211, allocations: 173.3 kB / 456.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.038e-05/0.1211, allocations: 35.53 kB / 456.8 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006564/0.1218, allocations: 317.4 kB / 457.1 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1218, allocations: 48 / 457.1 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1218, allocations: 3.984 kB / 457.1 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.122, allocations: 136.7 kB / 457.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.582e-05/0.122, allocations: 4 kB / 457.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.1223, allocations: 15.98 kB / 457.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.397e-05/0.1223, allocations: 23.97 kB / 457.3 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000776/0.1231, allocations: 385.4 kB / 457.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008498/0.124, allocations: 0.5685 MB / 458.2 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002147/0.1242, allocations: 116 kB / 458.4 MB, free: 1.395 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002769/0.1245, allocations: 275.2 kB / 458.6 MB, free: 1.133 MB / 334.1 MB Notification: Performance of Backend: time 4.61e-07/0.1245, allocations: 0 / 458.6 MB, free: 1.133 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00166/0.1262, allocations: 0.589 MB / 459.2 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of SimCode: time 0.00158/0.1278, allocations: 1.234 MB / 460.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of Templates: time 0.01268/0.1405, allocations: 6.786 MB / 467.2 MB, free: 8.621 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 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe 2>&1)