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) 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.CheckValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2") translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 106.6 kB / 16.41 MB, free: 6.465 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.001311/0.001311, allocations: 187 kB / 17.34 MB, free: 5.719 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.327/1.327, 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.05317/0.05317, allocations: 11.84 MB / 282.4 MB, free: 216 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.001478/0.001478, allocations: 73.27 kB / 393 MB, free: 45.31 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08372/0.08521, allocations: 49.22 MB / 442.2 MB, free: 2.078 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.CheckValveTest2): time 0.004813/0.09007, allocations: 4.364 MB / 446.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00291/0.09299, allocations: 2.155 MB / 448.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002362/0.09324, allocations: 11.94 kB / 448.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000446/0.09369, allocations: 174.8 kB / 448.9 MB, free: 11.34 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.0006096/0.09431, allocations: 341.7 kB / 449.3 MB, free: 11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008288/0.09515, allocations: 462.6 kB / 449.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000872/0.09603, allocations: 1.015 MB / 450.7 MB, free: 9.535 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003929/0.09643, allocations: 299.8 kB / 451 MB, free: 9.238 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003674/0.09681, allocations: 370.6 kB / 451.4 MB, free: 8.875 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004534/0.09727, allocations: 410.3 kB / 451.8 MB, free: 8.473 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.054e-05/0.09737, allocations: 68 kB / 451.9 MB, free: 8.406 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004119/0.09779, allocations: 267.8 kB / 452.1 MB, free: 8.145 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.09796, allocations: 183.4 kB / 452.3 MB, free: 7.965 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000309/0.09827, allocations: 414 kB / 452.7 MB, free: 7.559 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009509/0.09923, allocations: 1.051 MB / 453.8 MB, free: 6.504 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.09924, allocations: 0 / 453.8 MB, free: 6.504 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.09925, allocations: 0 / 453.8 MB, free: 6.504 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.09927, allocations: 0 / 453.8 MB, free: 6.504 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.00148/0.1008, allocations: 1.04 MB / 454.8 MB, free: 5.414 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.1008, allocations: 15.89 kB / 454.8 MB, free: 5.398 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.101, allocations: 87.91 kB / 454.9 MB, free: 5.312 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006071/0.1016, allocations: 0.5014 MB / 455.4 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.837e-05/0.1017, allocations: 49.25 kB / 455.4 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.183e-05/0.1017, allocations: 55.98 kB / 455.5 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009051/0.1027, allocations: 0.557 MB / 456.1 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.1027, allocations: 0 / 456.1 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.045e-05/0.1027, allocations: 24 kB / 456.1 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.1028, allocations: 16 kB / 456.1 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008696/0.1036, allocations: 0.5243 MB / 456.6 MB, free: 3.539 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.003016/0.1067, allocations: 2.831 MB / 459.5 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006779/0.1074, allocations: 435.1 kB / 459.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003099/0.1077, allocations: 208.4 kB / 460.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.1078, allocations: 101 kB / 460.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.1078, allocations: 42.34 kB / 460.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.804e-06/0.1078, allocations: 0 / 460.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002303/0.1101, allocations: 1.236 MB / 461.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.1102, allocations: 55.41 kB / 461.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006598/0.1109, allocations: 0.6447 MB / 462.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.1109, allocations: 33.7 kB / 462.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/0.1111, allocations: 320 kB / 462.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.1112, allocations: 153.7 kB / 462.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.1114, allocations: 94.23 kB / 462.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1115, allocations: 374.8 kB / 463.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/0.1118, allocations: 153 kB / 463.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003367/0.1122, allocations: 252.2 kB / 463.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002925/0.1151, allocations: 0.946 MB / 464.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1151, allocations: 0 / 464.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008597/0.116, allocations: 0.5387 MB / 465 MB, free: 10.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.116, allocations: 6.812 kB / 465 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.116, allocations: 7.984 kB / 465 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.116, allocations: 4 kB / 465 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004639/0.1165, allocations: 119.8 kB / 465.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.1165, allocations: 8.344 kB / 465.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.1168, allocations: 23.98 kB / 465.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.1168, allocations: 23.94 kB / 465.2 MB, free: 10.45 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.0003403/0.1172, allocations: 244.8 kB / 465.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-05/0.1173, allocations: 63.25 kB / 465.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009365/0.1182, allocations: 0.5222 MB / 466 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1182, allocations: 4 kB / 466 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1183, allocations: 0 / 466 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.1183, allocations: 3.984 kB / 466 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.1199, allocations: 1.225 MB / 467.2 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1199, allocations: 0 / 467.2 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004597/0.1204, allocations: 107.8 kB / 467.3 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.1204, allocations: 0 / 467.3 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.506e-05/0.1205, allocations: 19.98 kB / 467.4 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1205, allocations: 0 / 467.4 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1205, allocations: 0 / 467.4 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.1216, allocations: 0.7802 MB / 468.1 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.1218, allocations: 192.2 kB / 468.3 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.529e-05/0.1219, allocations: 8 kB / 468.3 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.1222, allocations: 15.98 kB / 468.4 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.532e-05/0.1223, allocations: 32.39 kB / 468.4 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.1223, allocations: 15.94 kB / 468.4 MB, free: 7.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004941/0.1228, allocations: 475 kB / 468.9 MB, free: 6.668 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1228, allocations: 4 kB / 468.9 MB, free: 6.664 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005316/0.1233, allocations: 179.9 kB / 469 MB, free: 6.488 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.000955/0.1243, allocations: 437.1 kB / 469.5 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007299/0.125, allocations: 418.2 kB / 469.9 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.125, allocations: 0 / 469.9 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003341/0.1254, allocations: 210.4 kB / 470.1 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008327/0.1262, allocations: 207.3 kB / 470.3 MB, free: 5.371 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.1283, allocations: 1.449 MB / 471.7 MB, free: 3.887 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.1287, allocations: 0.9332 MB / 472.7 MB, free: 2.926 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.1289, allocations: 63.42 kB / 472.7 MB, free: 2.863 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1289, allocations: 3.938 kB / 472.7 MB, free: 2.859 MB / 350.1 MB Notification: Performance of Templates: time 0.01314/0.1421, allocations: 10.29 MB / 483 MB, free: 8.574 MB / 366.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.makefile (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)