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.000946/0.0009458, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.0009533/0.0009535, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05298/0.05298, allocations: 11.85 MB / 282.2 MB, free: 9.477 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.0005932/0.0005932, allocations: 12 kB / 342.9 MB, free: 22.5 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1072, allocations: 50.22 MB / 393.1 MB, free: 4.238 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest2): time 0.005253/0.1124, allocations: 4.406 MB / 397.5 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003886/0.1164, allocations: 2.165 MB / 399.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003894/0.1168, allocations: 8 kB / 399.7 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004852/0.1173, allocations: 155.1 kB / 399.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009451/0.1182, allocations: 466.6 kB / 400.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008252/0.1191, allocations: 322.9 kB / 400.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008047/0.1199, allocations: 0.6666 MB / 401.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003568/0.1203, allocations: 234 kB / 401.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003375/0.1206, allocations: 290.8 kB / 401.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003909/0.121, allocations: 322.7 kB / 402.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.986e-05/0.1211, allocations: 32 kB / 402.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004183/0.1215, allocations: 207.8 kB / 402.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000146/0.1217, allocations: 139.4 kB / 402.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.1218, allocations: 173.3 kB / 402.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000783/0.1226, allocations: 0.768 MB / 403.4 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1226, allocations: 0 / 403.4 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1226, allocations: 0 / 403.4 MB, free: 9.891 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.1226, allocations: 0 / 403.4 MB, free: 9.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.001421/0.1241, allocations: 0.9191 MB / 404.3 MB, free: 8.922 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1241, allocations: 12.03 kB / 404.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001919/0.1243, allocations: 83.02 kB / 404.4 MB, free: 8.828 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007001/0.125, allocations: 488.6 kB / 404.9 MB, free: 8.309 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.806e-05/0.1251, allocations: 45.31 kB / 404.9 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.385e-05/0.1252, allocations: 59.91 kB / 405 MB, free: 8.203 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009091/0.1261, allocations: 0.5414 MB / 405.5 MB, free: 7.656 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.1261, allocations: 7.938 kB / 405.5 MB, free: 7.648 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-05/0.1262, allocations: 28 kB / 405.6 MB, free: 7.621 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.1262, allocations: 15.95 kB / 405.6 MB, free: 7.605 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008842/0.1271, allocations: 0.5283 MB / 406.1 MB, free: 7.078 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.00335/0.1305, allocations: 2.839 MB / 409 MB, free: 3.938 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009822/0.1315, allocations: 479.5 kB / 409.4 MB, free: 3.461 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.1316, allocations: 97.08 kB / 409.5 MB, free: 3.348 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.1316, allocations: 34.56 kB / 409.6 MB, free: 3.305 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 3.286e-06/0.1317, allocations: 0 / 409.6 MB, free: 3.305 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002302/0.134, allocations: 1.246 MB / 410.8 MB, free: 2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.134, allocations: 59.39 kB / 410.9 MB, free: 1.93 MB / 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.0007853/0.1348, allocations: 0.6523 MB / 411.5 MB, free: 1.266 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.1349, allocations: 33.7 kB / 411.5 MB, free: 1.227 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.1351, allocations: 316 kB / 411.9 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.1353, allocations: 149.9 kB / 412 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-05/0.1353, allocations: 8 kB / 412 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1354, allocations: 374.8 kB / 412.4 MB, free: 392 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.1357, allocations: 157 kB / 412.5 MB, free: 236 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003417/0.1361, allocations: 248.2 kB / 412.8 MB, free: 15.96 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/0.1364, allocations: 190.9 kB / 413 MB, free: 15.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1364, allocations: 0 / 413 MB, free: 15.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008677/0.1373, allocations: 0.5469 MB / 413.5 MB, free: 15.22 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.1374, allocations: 11.98 kB / 413.5 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.1374, allocations: 0 / 413.5 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.298e-05/0.1374, allocations: 11.98 kB / 413.5 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004621/0.1379, allocations: 120.1 kB / 413.6 MB, free: 15.08 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.1379, allocations: 8 kB / 413.6 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002938/0.1382, allocations: 31.86 kB / 413.7 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.1382, allocations: 19.98 kB / 413.7 MB, free: 15.02 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003706/0.1386, allocations: 269.5 kB / 414 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.934e-05/0.1387, allocations: 63.2 kB / 414 MB, free: 14.69 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.1397, allocations: 0.5337 MB / 414.6 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.1398, allocations: 8 kB / 414.6 MB, free: 14.13 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.1398, allocations: 0 / 414.6 MB, free: 14.13 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.1398, allocations: 3.984 kB / 414.6 MB, free: 14.13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/0.1416, allocations: 1.217 MB / 415.8 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.1417, allocations: 3.984 kB / 415.8 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004666/0.1421, allocations: 107.8 kB / 415.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.1421, allocations: 0 / 415.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.755e-05/0.1422, allocations: 15.98 kB / 415.9 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.1422, allocations: 4 kB / 415.9 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1422, allocations: 4 kB / 415.9 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.1434, allocations: 0.7751 MB / 416.7 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/0.1437, allocations: 200.2 kB / 416.9 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.438e-05/0.1437, allocations: 8 kB / 416.9 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/0.144, allocations: 23.98 kB / 416.9 MB, free: 11.69 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/0.1441, allocations: 32.39 kB / 417 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-05/0.1441, allocations: 15.98 kB / 417 MB, free: 11.64 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005128/0.1447, allocations: 467 kB / 417.4 MB, free: 11.19 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1447, allocations: 0 / 417.4 MB, free: 11.19 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005662/0.1452, allocations: 183.9 kB / 417.6 MB, free: 11.01 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009727/0.1462, allocations: 426.5 kB / 418 MB, free: 10.69 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007882/0.147, allocations: 418.6 kB / 418.4 MB, free: 10.28 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.147, allocations: 0 / 418.4 MB, free: 10.28 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003548/0.1474, allocations: 214.4 kB / 418.6 MB, free: 10.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008124/0.1482, allocations: 203.3 kB / 418.8 MB, free: 9.863 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.1505, allocations: 1.701 MB / 420.5 MB, free: 8.133 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005202/0.151, allocations: 0.9487 MB / 421.5 MB, free: 7.156 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004/0.1514, allocations: 125.2 kB / 421.6 MB, free: 7.035 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.1516, allocations: 63.41 kB / 421.7 MB, free: 6.973 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1516, allocations: 0 / 421.7 MB, free: 6.973 MB / 318.1 MB Notification: Performance of Templates: time 0.1858/0.3374, allocations: 9.568 MB / 431.2 MB, free: 37.46 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: