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.007749/0.007749, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001892/0.001892, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.352/1.352, allocations: 205.1 MB / 222.5 MB, free: 4.363 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05547/0.05547, allocations: 11.84 MB / 281.7 MB, free: 9.188 MB / 238.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.001514/0.001515, allocations: 75.89 kB / 392.3 MB, free: 3.457 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2668, allocations: 49.21 MB / 441.6 MB, free: 4.402 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.006173/0.273, allocations: 4.364 MB / 445.9 MB, free: 1.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003914/0.277, allocations: 2.16 MB / 448.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000473/0.2775, allocations: 7.031 kB / 448.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006162/0.2781, allocations: 184.5 kB / 448.3 MB, free: 15.69 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.0009495/0.2791, allocations: 357.3 kB / 448.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.2805, allocations: 466.1 kB / 449.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001099/0.2816, allocations: 1.015 MB / 450.1 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004852/0.2821, allocations: 303 kB / 450.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005382/0.2827, allocations: 368.2 kB / 450.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005236/0.2832, allocations: 411.2 kB / 451.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.782e-05/0.2833, allocations: 64.62 kB / 451.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006193/0.2839, allocations: 271.5 kB / 451.5 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002114/0.2841, allocations: 183.4 kB / 451.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005321/0.2847, allocations: 420.8 kB / 452.1 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.2861, allocations: 1.042 MB / 453.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2861, allocations: 3.938 kB / 453.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.416e-06/0.2861, allocations: 1.375 kB / 453.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.2861, allocations: 4 kB / 453.1 MB, free: 12.73 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.001811/0.288, allocations: 1.041 MB / 454.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.288, allocations: 12.7 kB / 454.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003733/0.2884, allocations: 86.75 kB / 454.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008272/0.2892, allocations: 0.5064 MB / 454.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.735e-05/0.2893, allocations: 49.38 kB / 454.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.2894, allocations: 51.28 kB / 454.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.2906, allocations: 0.5591 MB / 455.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.2907, allocations: 0 / 455.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.584e-05/0.2907, allocations: 21.47 kB / 455.4 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/0.2908, allocations: 13.12 kB / 455.4 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.2919, allocations: 0.5244 MB / 456 MB, free: 10.73 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.003915/0.2958, allocations: 2.827 MB / 458.8 MB, free: 8.141 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008358/0.2967, allocations: 443.3 kB / 459.2 MB, free: 7.914 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003578/0.2971, allocations: 200.9 kB / 459.4 MB, free: 7.809 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001322/0.2972, allocations: 94.53 kB / 459.5 MB, free: 7.707 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.5e-05/0.2973, allocations: 40.86 kB / 459.6 MB, free: 7.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 2.044e-06/0.2973, allocations: 4 kB / 459.6 MB, free: 7.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002685/0.3, allocations: 1.238 MB / 460.8 MB, free: 6.855 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.3, allocations: 55.41 kB / 460.9 MB, free: 6.793 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008682/0.3009, allocations: 0.6415 MB / 461.5 MB, free: 6.426 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/0.3009, allocations: 38.86 kB / 461.5 MB, free: 6.383 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002466/0.3012, allocations: 319.8 kB / 461.8 MB, free: 6.102 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.3013, allocations: 148.5 kB / 462 MB, free: 5.973 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.3015, allocations: 90.83 kB / 462.1 MB, free: 5.914 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.3017, allocations: 375 kB / 462.4 MB, free: 5.555 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003179/0.302, allocations: 157.8 kB / 462.6 MB, free: 5.477 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004149/0.3024, allocations: 261.1 kB / 462.9 MB, free: 5.273 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00316/0.3056, allocations: 0.9424 MB / 463.8 MB, free: 4.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.3056, allocations: 0 / 463.8 MB, free: 4.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001038/0.3067, allocations: 0.5387 MB / 464.3 MB, free: 3.973 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.3067, allocations: 8 kB / 464.3 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.3067, allocations: 352 / 464.3 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.3067, allocations: 12 kB / 464.4 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004861/0.3072, allocations: 115.9 kB / 464.5 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.3073, allocations: 7.938 kB / 464.5 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003548/0.3076, allocations: 20 kB / 464.5 MB, free: 3.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.911e-05/0.3077, allocations: 19.98 kB / 464.5 MB, free: 3.793 MB / 334.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.0004049/0.3081, allocations: 249.5 kB / 464.8 MB, free: 3.539 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.3082, allocations: 63.25 kB / 464.8 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.3092, allocations: 0.5183 MB / 465.3 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.3093, allocations: 8 kB / 465.3 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3093, allocations: 0 / 465.3 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.3093, allocations: 3.984 kB / 465.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.3111, allocations: 1.225 MB / 466.6 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.3112, allocations: 0 / 466.6 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004731/0.3116, allocations: 107.9 kB / 466.7 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.375e-06/0.3116, allocations: 8 kB / 466.7 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.616e-05/0.3117, allocations: 15.98 kB / 466.7 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3117, allocations: 0 / 466.7 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.3117, allocations: 0 / 466.7 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.3129, allocations: 0.7762 MB / 467.5 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002613/0.3132, allocations: 184.3 kB / 467.7 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.384e-05/0.3133, allocations: 12 kB / 467.7 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.3136, allocations: 19.98 kB / 467.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/0.3137, allocations: 28.39 kB / 467.7 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.3137, allocations: 12 kB / 467.7 MB, free: 476 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005324/0.3142, allocations: 471 kB / 468.2 MB, free: 12 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3142, allocations: 0 / 468.2 MB, free: 12 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006941/0.3149, allocations: 183.9 kB / 468.4 MB, free: 15.83 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.001047/0.316, allocations: 434.4 kB / 468.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008367/0.3168, allocations: 422.8 kB / 469.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3169, allocations: 0 / 469.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003546/0.3172, allocations: 218.3 kB / 469.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008435/0.3181, allocations: 214.7 kB / 469.6 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.3203, allocations: 1.401 MB / 471 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004788/0.3208, allocations: 0.9332 MB / 472 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003535/0.3212, allocations: 125.2 kB / 472.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.3213, allocations: 63.41 kB / 472.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3213, allocations: 0 / 472.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of Templates: time 0.01818/0.3395, allocations: 10.48 MB / 482.6 MB, free: 1.574 MB / 350.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)