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.001603/0.001604, allocations: 115.6 kB / 16.42 MB, free: 6.488 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.002172/0.002173, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.441/1.441, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05566/0.05566, allocations: 11.85 MB / 282.4 MB, free: 216 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.001533/0.001533, allocations: 82.66 kB / 393 MB, free: 45.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08724/0.08878, allocations: 49.23 MB / 442.2 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.002781/0.09161, allocations: 1.926 MB / 444.2 MB, free: 144 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009605/0.09258, allocations: 0.6086 MB / 444.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.814e-05/0.09267, allocations: 0 / 444.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.244e-05/0.09275, allocations: 11.86 kB / 444.8 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003169/0.09307, allocations: 83.45 kB / 444.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.365e-05/0.09318, allocations: 15.98 kB / 444.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.09338, allocations: 139.2 kB / 445 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.0935, allocations: 27.97 kB / 445 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.59e-05/0.0936, allocations: 47.8 kB / 445.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.09373, allocations: 59.7 kB / 445.2 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.09376, allocations: 8 kB / 445.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.744e-05/0.09384, allocations: 15.98 kB / 445.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.125e-05/0.09386, allocations: 11.94 kB / 445.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.307e-05/0.09393, allocations: 51.8 kB / 445.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.09411, allocations: 111.6 kB / 445.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.09413, allocations: 4 kB / 445.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.09413, allocations: 0 / 445.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.09414, allocations: 0 / 445.4 MB, free: 14.95 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.0004947/0.09464, allocations: 420.8 kB / 445.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.09469, allocations: 11.89 kB / 445.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.09474, allocations: 8.844 kB / 445.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.095, allocations: 204.1 kB / 446 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.09502, allocations: 4.375 kB / 446 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.09504, allocations: 12.12 kB / 446 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.09522, allocations: 88.38 kB / 446.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.09524, allocations: 4 kB / 446.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.09525, allocations: 4 kB / 446.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.09527, allocations: 4 kB / 446.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.09537, allocations: 55.91 kB / 446.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006228/0.096, allocations: 497 kB / 446.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.595e-05/0.09609, allocations: 46.5 kB / 446.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.261e-05/0.09613, allocations: 20.97 kB / 446.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.09615, allocations: 4 kB / 446.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.09618, allocations: 30.56 kB / 446.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.522e-06/0.09618, allocations: 3.938 kB / 446.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002467/0.09643, allocations: 111.3 kB / 446.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.09649, allocations: 77.11 kB / 446.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.09666, allocations: 162.2 kB / 447.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.09669, allocations: 29.7 kB / 447.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/0.09675, allocations: 107.9 kB / 447.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.09678, allocations: 23.66 kB / 447.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.302e-05/0.09683, allocations: 25.7 kB / 447.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.09695, allocations: 318.8 kB / 447.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.951e-05/0.097, allocations: 19.98 kB / 447.6 MB, free: 12.44 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.386e-05/0.09704, allocations: 16 kB / 447.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.424e-05/0.09714, allocations: 92.25 kB / 447.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.09716, allocations: 4 kB / 447.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001414/0.0973, allocations: 111.3 kB / 447.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/0.09734, allocations: 37.69 kB / 447.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.09735, allocations: 3.938 kB / 447.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.09737, allocations: 0 / 447.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.09748, allocations: 11.94 kB / 447.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.0975, allocations: 4.234 kB / 447.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.037e-05/0.09757, allocations: 7.891 kB / 447.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.09759, allocations: 4 kB / 447.9 MB, free: 12.12 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 9.624e-05/0.09769, allocations: 147.5 kB / 448 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.09773, allocations: 7.906 kB / 448 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001781/0.09791, allocations: 115.6 kB / 448.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.09792, allocations: 3.938 kB / 448.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.09793, allocations: 0 / 448.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.682e-05/0.098, allocations: 100.9 kB / 448.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.09803, allocations: 0 / 448.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.144e-05/0.09812, allocations: 4.312 kB / 448.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/0.09814, allocations: 4 kB / 448.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001777/0.09832, allocations: 234.1 kB / 448.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000192/0.09853, allocations: 276.2 kB / 448.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.504e-05/0.09857, allocations: 20 kB / 448.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.973e-05/0.09868, allocations: 131.2 kB / 448.9 MB, free: 11 MB / 334.1 MB Notification: Performance of Backend: time 2.01e-07/0.09868, allocations: 0 / 448.9 MB, free: 11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004298/0.09912, allocations: 165 kB / 449.1 MB, free: 10.83 MB / 334.1 MB Notification: Performance of SimCode: time 0.0007079/0.09984, allocations: 0.7643 MB / 449.8 MB, free: 10 MB / 334.1 MB Notification: Performance of Templates: time 0.004455/0.1043, allocations: 1.827 MB / 451.7 MB, free: 8.207 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)