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.001615/0.001615, allocations: 107 kB / 16.41 MB, free: 6.023 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.001707/0.001707, allocations: 192 kB / 17.34 MB, free: 5.629 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.417/1.417, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.06249/0.06249, 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.002166/0.002166, allocations: 78.33 kB / 393 MB, free: 45.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06545/0.06762, allocations: 49.23 MB / 442.2 MB, free: 2.086 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.005247/0.07287, allocations: 4.373 MB / 446.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003495/0.07636, allocations: 2.167 MB / 448.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002321/0.0766, allocations: 7.938 kB / 448.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004674/0.07706, allocations: 170.8 kB / 449 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.0007221/0.07778, allocations: 365.7 kB / 449.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009514/0.07874, allocations: 450.5 kB / 449.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001112/0.07985, allocations: 1.019 MB / 450.8 MB, free: 9.516 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003607/0.08021, allocations: 211.9 kB / 451 MB, free: 9.305 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004404/0.08065, allocations: 370.6 kB / 451.3 MB, free: 8.941 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005287/0.08118, allocations: 410.3 kB / 451.7 MB, free: 8.539 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.827e-05/0.08128, allocations: 64 kB / 451.8 MB, free: 8.477 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004873/0.08176, allocations: 271.8 kB / 452.1 MB, free: 8.211 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.08195, allocations: 183.3 kB / 452.3 MB, free: 8.031 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004115/0.08236, allocations: 418 kB / 452.7 MB, free: 7.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.08362, allocations: 1.051 MB / 453.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.08362, allocations: 0 / 453.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.08362, allocations: 0 / 453.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.08364, allocations: 0 / 453.7 MB, free: 6.566 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.001762/0.0854, allocations: 1.062 MB / 454.8 MB, free: 5.453 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.08543, allocations: 19.89 kB / 454.8 MB, free: 5.434 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002124/0.08564, allocations: 92.41 kB / 454.9 MB, free: 5.344 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007602/0.0864, allocations: 0.5096 MB / 455.4 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.914e-05/0.08646, allocations: 49.25 kB / 455.4 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.08656, allocations: 55.95 kB / 455.5 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.08758, allocations: 0.5531 MB / 456 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.0876, allocations: 0 / 456 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.258e-05/0.08766, allocations: 28 kB / 456.1 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.08768, allocations: 16 kB / 456.1 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.08871, allocations: 0.5282 MB / 456.6 MB, free: 3.559 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.003787/0.0925, allocations: 2.832 MB / 459.5 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007844/0.09328, allocations: 422.9 kB / 459.9 MB, free: 8 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003886/0.09367, allocations: 188.6 kB / 460 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001327/0.0938, allocations: 97 kB / 460.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.09384, allocations: 42.34 kB / 460.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.683e-06/0.09384, allocations: 0 / 460.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002668/0.09651, allocations: 1.252 MB / 461.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.09656, allocations: 55.41 kB / 461.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008261/0.09738, allocations: 0.6408 MB / 462.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.834e-05/0.09743, allocations: 33.7 kB / 462.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002702/0.0977, allocations: 328.5 kB / 462.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.09784, allocations: 154.6 kB / 462.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.09799, allocations: 98.19 kB / 462.7 MB, free: 13.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.0982, allocations: 370.8 kB / 463.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000342/0.09854, allocations: 165 kB / 463.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004338/0.09898, allocations: 256.1 kB / 463.5 MB, free: 12.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003349/0.1023, allocations: 0.9343 MB / 464.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1023, allocations: 0 / 464.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001032/0.1034, allocations: 0.5471 MB / 465 MB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1034, allocations: 4 kB / 465 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1034, allocations: 4 kB / 465 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1034, allocations: 4 kB / 465 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005117/0.1039, allocations: 115.8 kB / 465.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/0.1039, allocations: 11.98 kB / 465.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.1042, allocations: 12 kB / 465.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.933e-05/0.1042, allocations: 19.98 kB / 465.2 MB, free: 10.5 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.000365/0.1046, allocations: 241.8 kB / 465.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.1047, allocations: 67.56 kB / 465.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.1058, allocations: 0.53 MB / 466 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.1058, allocations: 4 kB / 466 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.1058, allocations: 4 kB / 466 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1058, allocations: 0 / 466 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/0.1079, allocations: 1.229 MB / 467.2 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1079, allocations: 3.938 kB / 467.2 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00052/0.1084, allocations: 115.9 kB / 467.3 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1084, allocations: 0 / 467.3 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.468e-05/0.1084, allocations: 12 kB / 467.4 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.1084, allocations: 4 kB / 467.4 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1084, allocations: 0 / 467.4 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/0.1098, allocations: 0.7844 MB / 468.1 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002743/0.1101, allocations: 192.7 kB / 468.3 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.856e-05/0.1102, allocations: 8 kB / 468.3 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.1104, allocations: 15.94 kB / 468.4 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.717e-05/0.1105, allocations: 36.33 kB / 468.4 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/0.1105, allocations: 15.98 kB / 468.4 MB, free: 7.137 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005825/0.1111, allocations: 467 kB / 468.9 MB, free: 6.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1111, allocations: 4 kB / 468.9 MB, free: 6.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005871/0.1117, allocations: 183.7 kB / 469 MB, free: 6.504 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.001409/0.1131, allocations: 424.7 kB / 469.5 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008305/0.114, allocations: 394.2 kB / 469.8 MB, free: 5.824 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.114, allocations: 4 kB / 469.8 MB, free: 5.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003779/0.1143, allocations: 198.4 kB / 470 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009095/0.1152, allocations: 218.2 kB / 470.3 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.1176, allocations: 1.434 MB / 471.7 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006246/0.1182, allocations: 0.9409 MB / 472.6 MB, free: 2.988 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003728/0.1186, allocations: 121.2 kB / 472.7 MB, free: 2.871 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.1188, allocations: 63.41 kB / 472.8 MB, free: 2.809 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1188, allocations: 0 / 472.8 MB, free: 2.809 MB / 350.1 MB Notification: Performance of Templates: time 0.01918/0.138, allocations: 10.56 MB / 483.4 MB, free: 8.262 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 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe 2>&1)