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.0009697/0.0009697, allocations: 108.7 kB / 15.99 MB, free: 6.355 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.0009706/0.0009707, allocations: 191.7 kB / 16.91 MB, free: 6.191 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.219/1.219, allocations: 205.1 MB / 222.8 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05028/0.05028, allocations: 11.84 MB / 281.9 MB, free: 9.609 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.001276/0.001276, allocations: 67.91 kB / 342 MB, free: 22.31 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06788/0.06917, allocations: 49.22 MB / 391.2 MB, free: 5.035 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest2): time 0.005652/0.07486, allocations: 5.52 MB / 396.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002763/0.07763, allocations: 2.268 MB / 399 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002276/0.07787, allocations: 8 kB / 399 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004001/0.07829, allocations: 155.2 kB / 399.1 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005549/0.07886, allocations: 310.2 kB / 399.4 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007471/0.07962, allocations: 409.8 kB / 399.8 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008208/0.08045, allocations: 1.015 MB / 400.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003565/0.08081, allocations: 295.8 kB / 401.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003417/0.08116, allocations: 362.5 kB / 401.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003991/0.08157, allocations: 422.3 kB / 401.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.772e-05/0.08166, allocations: 64 kB / 402 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003789/0.08204, allocations: 275.8 kB / 402.2 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.0822, allocations: 183.4 kB / 402.4 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003267/0.08253, allocations: 414 kB / 402.8 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007144/0.08326, allocations: 0.8224 MB / 403.7 MB, free: 8.516 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.08327, allocations: 0 / 403.7 MB, free: 8.516 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.08328, allocations: 0 / 403.7 MB, free: 8.516 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.08329, allocations: 0 / 403.7 MB, free: 8.516 MB / 302.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.001415/0.08471, allocations: 1.044 MB / 404.7 MB, free: 7.422 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.08475, allocations: 11.89 kB / 404.7 MB, free: 7.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.08493, allocations: 84 kB / 404.8 MB, free: 7.328 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005653/0.0855, allocations: 0.4936 MB / 405.3 MB, free: 6.797 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.06e-05/0.08555, allocations: 49.25 kB / 405.3 MB, free: 6.746 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.83e-05/0.08563, allocations: 52 kB / 405.4 MB, free: 6.695 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009036/0.08654, allocations: 0.5609 MB / 405.9 MB, free: 6.129 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.08657, allocations: 3.906 kB / 405.9 MB, free: 6.125 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.884e-05/0.08663, allocations: 24 kB / 406 MB, free: 6.102 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.08665, allocations: 15.98 kB / 406 MB, free: 6.086 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008653/0.08752, allocations: 0.5244 MB / 406.5 MB, free: 5.562 MB / 302.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.003043/0.09057, allocations: 2.843 MB / 409.4 MB, free: 2.418 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006832/0.09126, allocations: 442.6 kB / 409.8 MB, free: 1.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003156/0.09159, allocations: 204.7 kB / 410 MB, free: 1.777 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.09171, allocations: 101.1 kB / 410.1 MB, free: 1.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.09174, allocations: 30.56 kB / 410.1 MB, free: 1.621 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 1.613e-06/0.09174, allocations: 0 / 410.1 MB, free: 1.621 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002274/0.09402, allocations: 1.25 MB / 411.4 MB, free: 320 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.09407, allocations: 59.34 kB / 411.4 MB, free: 248 kB / 302.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.0007074/0.09478, allocations: 0.6446 MB / 412.1 MB, free: 15.58 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.09482, allocations: 33.7 kB / 412.1 MB, free: 15.54 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.09504, allocations: 312.1 kB / 412.4 MB, free: 15.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.09515, allocations: 157.7 kB / 412.6 MB, free: 15.08 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.0953, allocations: 94.14 kB / 412.7 MB, free: 14.98 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.09544, allocations: 378.8 kB / 413 MB, free: 14.6 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002874/0.09573, allocations: 153 kB / 413.2 MB, free: 14.45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003366/0.09608, allocations: 256.2 kB / 413.4 MB, free: 14.17 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002955/0.09904, allocations: 0.941 MB / 414.4 MB, free: 13.19 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.09906, allocations: 4 kB / 414.4 MB, free: 13.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008467/0.09991, allocations: 0.531 MB / 414.9 MB, free: 12.65 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.09994, allocations: 8 kB / 414.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.09995, allocations: 4 kB / 414.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.09997, allocations: 4.344 kB / 414.9 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004686/0.1004, allocations: 123.8 kB / 415 MB, free: 12.51 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.1005, allocations: 4 kB / 415 MB, free: 12.51 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.1007, allocations: 23.98 kB / 415.1 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/0.1008, allocations: 27.92 kB / 415.1 MB, free: 12.46 MB / 318.1 MB Warning: Assuming fixed start value for the following 1 variables: j1.volumeClosed.port[2].p:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))))))))))))) start = j1.p_init unit = "Pa" fixed = true nominal = 100000.0 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.000316/0.1011, allocations: 278.4 kB / 415.4 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.216e-05/0.1012, allocations: 67.09 kB / 415.4 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000965/0.1022, allocations: 0.5299 MB / 416 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1022, allocations: 4 kB / 416 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1022, allocations: 0 / 416 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.1022, allocations: 3.984 kB / 416 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.1038, allocations: 1.217 MB / 417.2 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.1038, allocations: 0 / 417.2 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004628/0.1043, allocations: 115.8 kB / 417.3 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.1043, allocations: 0 / 417.3 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/0.1044, allocations: 15.98 kB / 417.3 MB, free: 10.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.1044, allocations: 4 kB / 417.3 MB, free: 10.17 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1044, allocations: 0 / 417.3 MB, free: 10.17 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.1055, allocations: 0.7712 MB / 418.1 MB, free: 9.379 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002024/0.1057, allocations: 192.2 kB / 418.3 MB, free: 9.172 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.251e-05/0.1058, allocations: 11.94 kB / 418.3 MB, free: 9.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/0.106, allocations: 23.98 kB / 418.3 MB, free: 9.137 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.511e-05/0.1061, allocations: 24.48 kB / 418.3 MB, free: 9.113 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/0.1062, allocations: 23.94 kB / 418.4 MB, free: 9.09 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000477/0.1066, allocations: 467 kB / 418.8 MB, free: 8.637 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1067, allocations: 0 / 418.8 MB, free: 8.637 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004799/0.1071, allocations: 183.9 kB / 419 MB, free: 8.457 MB / 318.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.0008256/0.108, allocations: 426.4 kB / 419.4 MB, free: 8.145 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008779/0.1089, allocations: 458.5 kB / 419.9 MB, free: 7.699 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1089, allocations: 0.6875 kB / 419.9 MB, free: 7.699 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003278/0.1092, allocations: 214.4 kB / 420.1 MB, free: 7.488 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007994/0.11, allocations: 214.4 kB / 420.3 MB, free: 7.285 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.1121, allocations: 1.707 MB / 422 MB, free: 5.543 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/0.1125, allocations: 0.933 MB / 422.9 MB, free: 4.578 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.1127, allocations: 71.41 kB / 423 MB, free: 4.508 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1127, allocations: 4 kB / 423 MB, free: 4.504 MB / 318.1 MB Notification: Performance of Templates: time 0.1294/0.2421, allocations: 10.19 MB / 433.2 MB, free: 38.79 MB / 318.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)