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.001186/0.001186, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.007803/0.007803, allocations: 171.6 kB / 16.27 MB, free: 6.652 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.367/1.367, allocations: 205.4 MB / 222.4 MB, free: 5.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05197/0.05197, allocations: 11.86 MB / 282.6 MB, free: 9.602 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.0005895/0.0005895, allocations: 24 kB / 343.5 MB, free: 22.14 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09349/0.09409, allocations: 50.22 MB / 393.8 MB, free: 3.875 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest2): time 0.005066/0.09921, allocations: 5.103 MB / 398.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003322/0.1026, allocations: 2.28 MB / 401.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003113/0.1029, allocations: 15.94 kB / 401.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003955/0.1033, allocations: 147.2 kB / 401.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006287/0.1039, allocations: 310.1 kB / 401.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008255/0.1048, allocations: 384.5 kB / 402 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009373/0.1057, allocations: 1.015 MB / 403 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000352/0.1061, allocations: 262.9 kB / 403.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003372/0.1064, allocations: 306.6 kB / 403.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004125/0.1069, allocations: 374.3 kB / 403.9 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.581e-05/0.1069, allocations: 28 kB / 403.9 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003974/0.1073, allocations: 227.8 kB / 404.2 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.1075, allocations: 151.3 kB / 404.3 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003059/0.1078, allocations: 387.7 kB / 404.7 MB, free: 8.883 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008943/0.1087, allocations: 0.9888 MB / 405.7 MB, free: 7.891 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1087, allocations: 0 / 405.7 MB, free: 7.891 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1087, allocations: 0 / 405.7 MB, free: 7.891 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.1087, allocations: 0 / 405.7 MB, free: 7.891 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.001416/0.1102, allocations: 0.9193 MB / 406.6 MB, free: 6.922 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.1102, allocations: 8.031 kB / 406.6 MB, free: 6.914 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.1104, allocations: 84 kB / 406.7 MB, free: 6.832 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006215/0.111, allocations: 0.4975 MB / 407.2 MB, free: 6.293 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.76e-05/0.1111, allocations: 49.19 kB / 407.2 MB, free: 6.242 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.059e-05/0.1112, allocations: 59.91 kB / 407.3 MB, free: 6.184 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009212/0.1121, allocations: 0.5608 MB / 407.8 MB, free: 5.617 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.1121, allocations: 4 kB / 407.9 MB, free: 5.613 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.663e-05/0.1122, allocations: 20 kB / 407.9 MB, free: 5.594 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.1122, allocations: 12 kB / 407.9 MB, free: 5.582 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008935/0.1131, allocations: 0.5283 MB / 408.4 MB, free: 5.055 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.003343/0.1165, allocations: 2.839 MB / 411.3 MB, free: 1.918 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007126/0.1172, allocations: 443.4 kB / 411.7 MB, free: 1.477 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003433/0.1176, allocations: 208.6 kB / 411.9 MB, free: 1.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.1177, allocations: 93.09 kB / 412 MB, free: 1.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.1177, allocations: 42.56 kB / 412 MB, free: 1.109 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 3.556e-06/0.1177, allocations: 0 / 412 MB, free: 1.109 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002543/0.1203, allocations: 1.253 MB / 413.3 MB, free: 15.8 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.1203, allocations: 55.41 kB / 413.3 MB, free: 15.73 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.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007407/0.1211, allocations: 0.6485 MB / 414 MB, free: 15.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/0.1211, allocations: 37.7 kB / 414 MB, free: 15.03 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/0.1214, allocations: 324 kB / 414.3 MB, free: 14.71 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.1215, allocations: 137.9 kB / 414.5 MB, free: 14.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.423e-05/0.1215, allocations: 49.69 kB / 414.5 MB, free: 14.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1217, allocations: 378.8 kB / 414.9 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/0.122, allocations: 153 kB / 415 MB, free: 13.99 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003477/0.1224, allocations: 260.1 kB / 415.3 MB, free: 13.7 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00308/0.1255, allocations: 0.9761 MB / 416.3 MB, free: 12.69 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1255, allocations: 0 / 416.3 MB, free: 12.69 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008872/0.1264, allocations: 0.5465 MB / 416.8 MB, free: 12.13 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.1264, allocations: 8 kB / 416.8 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1264, allocations: 0 / 416.8 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.1264, allocations: 8 kB / 416.8 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004809/0.1269, allocations: 120.2 kB / 416.9 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.1269, allocations: 7.938 kB / 416.9 MB, free: 11.99 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/0.1272, allocations: 27.98 kB / 417 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.491e-05/0.1273, allocations: 23.98 kB / 417 MB, free: 11.94 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.0003796/0.1277, allocations: 273.2 kB / 417.3 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.685e-05/0.1278, allocations: 63.25 kB / 417.3 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009711/0.1288, allocations: 0.53 MB / 417.9 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.1288, allocations: 7.984 kB / 417.9 MB, free: 11.06 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1288, allocations: 0 / 417.9 MB, free: 11.06 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.1288, allocations: 3.984 kB / 417.9 MB, free: 11.06 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.1305, allocations: 1.224 MB / 419.1 MB, free: 9.777 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1305, allocations: 3.938 kB / 419.1 MB, free: 9.773 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004688/0.131, allocations: 107.9 kB / 419.2 MB, free: 9.668 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.529e-05/0.131, allocations: 4 kB / 419.2 MB, free: 9.664 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.1311, allocations: 15.94 kB / 419.2 MB, free: 9.648 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.1311, allocations: 7.984 kB / 419.2 MB, free: 9.641 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1311, allocations: 4 kB / 419.2 MB, free: 9.637 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.1323, allocations: 0.7751 MB / 420 MB, free: 8.844 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002595/0.1326, allocations: 192.3 kB / 420.2 MB, free: 8.637 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.547e-05/0.1327, allocations: 15.98 kB / 420.2 MB, free: 8.621 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/0.1329, allocations: 23.89 kB / 420.2 MB, free: 8.598 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.847e-05/0.133, allocations: 32.39 kB / 420.3 MB, free: 8.566 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-05/0.1331, allocations: 20 kB / 420.3 MB, free: 8.547 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005588/0.1336, allocations: 467 kB / 420.7 MB, free: 8.098 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1336, allocations: 0 / 420.7 MB, free: 8.098 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005961/0.1342, allocations: 183.9 kB / 420.9 MB, free: 7.918 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.001046/0.1353, allocations: 409.5 kB / 421.3 MB, free: 7.609 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007786/0.1361, allocations: 422.6 kB / 421.7 MB, free: 7.199 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.1361, allocations: 4 kB / 421.7 MB, free: 7.195 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00035/0.1365, allocations: 218.3 kB / 422 MB, free: 6.98 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009176/0.1374, allocations: 203.3 kB / 422.2 MB, free: 6.777 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/0.1398, allocations: 1.779 MB / 423.9 MB, free: 4.965 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005336/0.1403, allocations: 0.9369 MB / 424.9 MB, free: 4 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004097/0.1407, allocations: 121.2 kB / 425 MB, free: 3.883 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.1409, allocations: 63.41 kB / 425 MB, free: 3.82 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1409, allocations: 0 / 425 MB, free: 3.82 MB / 318.1 MB Notification: Performance of Templates: time 0.1785/0.3194, allocations: 9.915 MB / 435 MB, free: 39.21 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: