Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.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.TankTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest") translateModel(OpenHydraulics.DevelopmentTests.TankTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009886/0.0009887, allocations: 109.8 kB / 16.41 MB, free: 6.508 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.001026/0.001026, allocations: 190.5 kB / 17.35 MB, free: 5.758 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.362/1.362, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05467/0.05467, allocations: 11.84 MB / 282.4 MB, free: 228 kB / 222.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.001504/0.001504, allocations: 72.7 kB / 393 MB, free: 45.46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08639/0.08791, allocations: 49.23 MB / 442.2 MB, free: 2.207 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.002729/0.09067, allocations: 1.931 MB / 444.2 MB, free: 264 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009457/0.09165, allocations: 0.6087 MB / 444.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.716e-05/0.09175, allocations: 0 / 444.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.798e-05/0.09182, allocations: 11.86 kB / 444.8 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003209/0.09217, allocations: 75.47 kB / 444.9 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000102/0.09228, allocations: 19.97 kB / 444.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.09249, allocations: 139.2 kB / 445 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.09262, allocations: 31.95 kB / 445.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.299e-05/0.09272, allocations: 47.86 kB / 445.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.09284, allocations: 51.72 kB / 445.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.09287, allocations: 11.98 kB / 445.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.152e-05/0.09295, allocations: 19.98 kB / 445.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.237e-05/0.09297, allocations: 11.94 kB / 445.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.456e-05/0.09304, allocations: 51.8 kB / 445.2 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.09323, allocations: 103.6 kB / 445.3 MB, free: 15.08 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.09324, allocations: 0 / 445.3 MB, free: 15.08 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.09325, allocations: 0 / 445.3 MB, free: 15.08 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.09326, allocations: 4 kB / 445.3 MB, free: 15.07 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005415/0.09381, allocations: 416.8 kB / 445.8 MB, free: 14.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.09387, allocations: 19.83 kB / 445.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.591e-05/0.09392, allocations: 8.844 kB / 445.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.09421, allocations: 205 kB / 446 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.09423, allocations: 4.375 kB / 446 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.09426, allocations: 12.12 kB / 446 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.09443, allocations: 88.22 kB / 446.1 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.09445, allocations: 0 / 446.1 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.09447, allocations: 0 / 446.1 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.09448, allocations: 8 kB / 446.1 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.09459, allocations: 51.91 kB / 446.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007125/0.09531, allocations: 0.4893 MB / 446.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.508e-05/0.09542, allocations: 46.5 kB / 446.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.59e-05/0.09546, allocations: 20.91 kB / 446.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.09548, allocations: 0 / 446.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.09552, allocations: 38.56 kB / 446.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 3.146e-06/0.09553, allocations: 0 / 446.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002701/0.0958, allocations: 115.2 kB / 446.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.09585, allocations: 81.05 kB / 446.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.09601, allocations: 158.2 kB / 447.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.09603, allocations: 25.7 kB / 447.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.833e-05/0.09611, allocations: 104 kB / 447.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.09615, allocations: 27.64 kB / 447.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.631e-05/0.09621, allocations: 25.7 kB / 447.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.09634, allocations: 322.8 kB / 447.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.737e-05/0.09639, allocations: 15.98 kB / 447.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.106e-05/0.09642, allocations: 12 kB / 447.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.09654, allocations: 96.25 kB / 447.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.09655, allocations: 0 / 447.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001558/0.09671, allocations: 111.2 kB / 447.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.687e-05/0.09676, allocations: 37.69 kB / 447.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.09677, allocations: 4.188 kB / 447.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.09679, allocations: 4 kB / 447.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.09691, allocations: 16 kB / 447.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.09693, allocations: 3.984 kB / 447.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.158e-05/0.09701, allocations: 7.906 kB / 447.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.09703, allocations: 7.984 kB / 447.9 MB, free: 12.24 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001014/0.09713, allocations: 139.5 kB / 448 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.09717, allocations: 7.906 kB / 448 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.09737, allocations: 119.8 kB / 448.1 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.09739, allocations: 4 kB / 448.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.0974, allocations: 0 / 448.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.27e-05/0.09747, allocations: 104.9 kB / 448.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.09751, allocations: 0 / 448.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.671e-05/0.0976, allocations: 0 / 448.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.09764, allocations: 4 kB / 448.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001883/0.09783, allocations: 218.1 kB / 448.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001984/0.09804, allocations: 288.2 kB / 448.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.475e-05/0.0981, allocations: 16 kB / 448.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.096e-05/0.09819, allocations: 131.2 kB / 448.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of Backend: time 6.21e-07/0.0982, allocations: 0 / 448.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004693/0.09867, allocations: 169.7 kB / 449.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of SimCode: time 0.0007267/0.09941, allocations: 0.7644 MB / 449.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of Templates: time 0.004453/0.1039, allocations: 1.858 MB / 451.7 MB, free: 8.301 MB / 334.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe 2>&1)