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.001004/0.001004, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001757/0.001757, allocations: 197 kB / 16.14 MB, free: 6.656 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.504/1.504, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05168/0.05168, allocations: 11.84 MB / 281.2 MB, free: 9.641 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.001305/0.001305, allocations: 79.55 kB / 341.1 MB, free: 22.42 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09746/0.09877, allocations: 49.22 MB / 390.4 MB, free: 5.145 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest2): time 0.007562/0.1064, allocations: 5.512 MB / 395.9 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004291/0.1107, allocations: 2.327 MB / 398.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000463/0.1112, allocations: 12 kB / 398.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005496/0.1118, allocations: 143.2 kB / 398.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007494/0.1126, allocations: 310.1 kB / 398.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009804/0.1136, allocations: 385.6 kB / 399 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009908/0.1146, allocations: 1.019 MB / 400.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000405/0.115, allocations: 263 kB / 400.3 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000383/0.1154, allocations: 322.5 kB / 400.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004453/0.1158, allocations: 390.3 kB / 401 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.441e-05/0.1159, allocations: 32 kB / 401 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005135/0.1164, allocations: 239.7 kB / 401.3 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.1166, allocations: 155.4 kB / 401.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003524/0.117, allocations: 382 kB / 401.8 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.118, allocations: 1.016 MB / 402.8 MB, free: 8.641 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.118, allocations: 7.984 kB / 402.8 MB, free: 8.633 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.118, allocations: 0 / 402.8 MB, free: 8.633 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.118, allocations: 0 / 402.8 MB, free: 8.633 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.001747/0.1198, allocations: 1.044 MB / 403.9 MB, free: 7.539 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.1199, allocations: 8.031 kB / 403.9 MB, free: 7.531 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002147/0.1201, allocations: 84 kB / 404 MB, free: 7.449 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006481/0.1207, allocations: 0.5014 MB / 404.5 MB, free: 6.906 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.292e-05/0.1208, allocations: 41.25 kB / 404.5 MB, free: 6.863 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-05/0.1209, allocations: 56 kB / 404.6 MB, free: 6.809 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009508/0.1218, allocations: 0.5609 MB / 405.1 MB, free: 6.242 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.1219, allocations: 3.906 kB / 405.1 MB, free: 6.238 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.816e-05/0.1219, allocations: 20 kB / 405.1 MB, free: 6.219 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.1219, allocations: 20 kB / 405.2 MB, free: 6.199 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009377/0.1229, allocations: 0.5244 MB / 405.7 MB, free: 5.676 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.003258/0.1262, allocations: 2.827 MB / 408.5 MB, free: 2.551 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007252/0.1269, allocations: 443.4 kB / 408.9 MB, free: 2.109 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003256/0.1272, allocations: 204.6 kB / 409.1 MB, free: 1.906 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.1274, allocations: 97.08 kB / 409.2 MB, free: 1.793 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.1274, allocations: 38.56 kB / 409.3 MB, free: 1.746 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 5.29e-06/0.1274, allocations: 3.984 kB / 409.3 MB, free: 1.742 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002476/0.1299, allocations: 1.245 MB / 410.5 MB, free: 448 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.13, allocations: 59.34 kB / 410.6 MB, free: 376 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.0007802/0.1307, allocations: 0.6524 MB / 411.2 MB, free: 15.7 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.1308, allocations: 29.7 kB / 411.3 MB, free: 15.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000219/0.131, allocations: 320.1 kB / 411.6 MB, free: 15.35 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.1311, allocations: 149.8 kB / 411.7 MB, free: 15.2 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.1313, allocations: 94.14 kB / 411.8 MB, free: 15.1 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1315, allocations: 374.8 kB / 412.2 MB, free: 14.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002981/0.1318, allocations: 149 kB / 412.3 MB, free: 14.58 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003637/0.1321, allocations: 264.2 kB / 412.6 MB, free: 14.29 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003027/0.1352, allocations: 0.941 MB / 413.5 MB, free: 13.31 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1352, allocations: 4 kB / 413.5 MB, free: 13.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009735/0.1362, allocations: 0.531 MB / 414.1 MB, free: 12.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.1362, allocations: 8.344 kB / 414.1 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/0.1362, allocations: 11.98 kB / 414.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.1363, allocations: 4 kB / 414.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000496/0.1368, allocations: 123.7 kB / 414.2 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.1368, allocations: 4 kB / 414.2 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003183/0.1371, allocations: 23.98 kB / 414.2 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.891e-05/0.1372, allocations: 23.98 kB / 414.3 MB, free: 12.57 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.0004213/0.1376, allocations: 269.4 kB / 414.5 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.1377, allocations: 67.16 kB / 414.6 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.1387, allocations: 0.526 MB / 415.1 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.1388, allocations: 4 kB / 415.1 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1388, allocations: 4 kB / 415.1 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.1388, allocations: 3.984 kB / 415.1 MB, free: 11.69 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.1405, allocations: 1.217 MB / 416.3 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.1406, allocations: 0 / 416.3 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004738/0.141, allocations: 111.8 kB / 416.4 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.1411, allocations: 0 / 416.4 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.62e-05/0.1411, allocations: 15.94 kB / 416.5 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.1411, allocations: 7.984 kB / 416.5 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1411, allocations: 4 kB / 416.5 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.1424, allocations: 0.7712 MB / 417.2 MB, free: 9.492 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002498/0.1427, allocations: 196.3 kB / 417.4 MB, free: 9.281 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.825e-05/0.1428, allocations: 8 kB / 417.4 MB, free: 9.273 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/0.1431, allocations: 23.98 kB / 417.5 MB, free: 9.25 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.635e-05/0.1432, allocations: 32.39 kB / 417.5 MB, free: 9.219 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.032e-05/0.1432, allocations: 15.94 kB / 417.5 MB, free: 9.203 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005357/0.1437, allocations: 467 kB / 418 MB, free: 8.754 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1437, allocations: 4 kB / 418 MB, free: 8.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005862/0.1443, allocations: 183.9 kB / 418.2 MB, free: 8.57 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.0009795/0.1453, allocations: 416.1 kB / 418.6 MB, free: 8.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007832/0.1461, allocations: 418.9 kB / 419 MB, free: 7.863 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1461, allocations: 0 / 419 MB, free: 7.863 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003564/0.1465, allocations: 210.4 kB / 419.2 MB, free: 7.656 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009169/0.1474, allocations: 207 kB / 419.4 MB, free: 7.449 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/0.1498, allocations: 1.668 MB / 421 MB, free: 5.754 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005709/0.1504, allocations: 0.9409 MB / 422 MB, free: 4.781 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004324/0.1508, allocations: 121.1 kB / 422.1 MB, free: 4.664 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.151, allocations: 59.42 kB / 422.2 MB, free: 4.605 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.151, allocations: 0 / 422.2 MB, free: 4.605 MB / 318.1 MB Notification: Performance of Templates: time 0.1822/0.3332, allocations: 9.945 MB / 432.1 MB, free: 40.19 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)