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.001009/0.001009, allocations: 107.7 kB / 15.99 MB, free: 6.355 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.001117/0.001117, allocations: 190.4 kB / 16.91 MB, free: 6.195 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.218/1.218, allocations: 205.1 MB / 222.8 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05003/0.05003, allocations: 11.83 MB / 281.9 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.00132/0.00132, allocations: 67.91 kB / 342 MB, free: 22.31 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07189/0.07322, allocations: 49.23 MB / 391.2 MB, free: 5.031 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.002969/0.07622, allocations: 2.254 MB / 393.5 MB, free: 2.762 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008672/0.0771, allocations: 0.6435 MB / 394.1 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.167e-05/0.07721, allocations: 4 kB / 394.1 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.281e-05/0.07727, allocations: 11.92 kB / 394.1 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002527/0.07753, allocations: 67.58 kB / 394.2 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.023e-05/0.07762, allocations: 16 kB / 394.2 MB, free: 2.016 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.07778, allocations: 139.2 kB / 394.3 MB, free: 1.879 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.07791, allocations: 31.97 kB / 394.4 MB, free: 1.848 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.831e-05/0.078, allocations: 43.86 kB / 394.4 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.695e-05/0.0781, allocations: 51.77 kB / 394.5 MB, free: 1.754 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.07812, allocations: 8 kB / 394.5 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.778e-05/0.07818, allocations: 16 kB / 394.5 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.07821, allocations: 19.92 kB / 394.5 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.902e-05/0.07826, allocations: 51.73 kB / 394.5 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.07837, allocations: 72.14 kB / 394.6 MB, free: 1.59 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.07839, allocations: 4 kB / 394.6 MB, free: 1.586 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.07839, allocations: 0 / 394.6 MB, free: 1.586 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.0784, allocations: 0 / 394.6 MB, free: 1.586 MB / 286.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.0004023/0.07881, allocations: 432.7 kB / 395 MB, free: 1.109 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.07885, allocations: 11.89 kB / 395.1 MB, free: 1.098 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.07889, allocations: 16.75 kB / 395.1 MB, free: 1.082 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.07907, allocations: 192.2 kB / 395.3 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.07909, allocations: 8.375 kB / 395.3 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.07911, allocations: 12.12 kB / 395.3 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.07927, allocations: 85.66 kB / 395.4 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.07928, allocations: 0 / 395.4 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.0793, allocations: 4 kB / 395.4 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.07931, allocations: 0 / 395.4 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.807e-05/0.07941, allocations: 59.84 kB / 395.4 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005602/0.07997, allocations: 0.4971 MB / 395.9 MB, free: 108 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.528e-05/0.08006, allocations: 42.52 kB / 396 MB, free: 56 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.144e-05/0.0801, allocations: 20.97 kB / 396 MB, free: 32 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.08012, allocations: 3.984 kB / 396 MB, free: 28 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.08015, allocations: 30.56 kB / 396 MB, free: 15.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.08016, allocations: 4 kB / 396 MB, free: 15.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002082/0.08037, allocations: 107.2 kB / 396.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.08043, allocations: 81.11 kB / 396.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.08056, allocations: 162.2 kB / 396.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.08058, allocations: 25.7 kB / 396.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.27e-05/0.08064, allocations: 107.9 kB / 396.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.08066, allocations: 15.8 kB / 396.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.0807, allocations: 21.72 kB / 396.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.08081, allocations: 322.8 kB / 396.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.397e-05/0.08085, allocations: 15.98 kB / 396.9 MB, free: 15.08 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.966e-05/0.08088, allocations: 16 kB / 396.9 MB, free: 15.06 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.064e-05/0.08098, allocations: 96.25 kB / 397 MB, free: 14.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.08099, allocations: 4 kB / 397 MB, free: 14.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001419/0.08114, allocations: 115.2 kB / 397.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.08117, allocations: 35.98 kB / 397.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.08118, allocations: 0 / 397.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.0812, allocations: 4 kB / 397.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.696e-05/0.0813, allocations: 11.98 kB / 397.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.08131, allocations: 0 / 397.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.664e-05/0.08138, allocations: 11.84 kB / 397.1 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.08139, allocations: 0 / 397.1 MB, free: 14.76 MB / 302.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 8.714e-05/0.08149, allocations: 147.5 kB / 397.3 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.08153, allocations: 19.83 kB / 397.3 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.08169, allocations: 115.9 kB / 397.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.0817, allocations: 0 / 397.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.08171, allocations: 0 / 397.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.08172, allocations: 7.938 kB / 397.4 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003402/0.08206, allocations: 388.9 kB / 397.8 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.08207, allocations: 0 / 397.8 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.348e-05/0.08213, allocations: 16.02 kB / 397.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.08214, allocations: 3.938 kB / 397.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.08216, allocations: 0 / 397.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.08216, allocations: 4 kB / 397.8 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.08217, allocations: 0 / 397.8 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.08233, allocations: 202 kB / 398 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.194e-05/0.0824, allocations: 96.94 kB / 398.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.08243, allocations: 4 kB / 398.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.987e-05/0.08252, allocations: 7.938 kB / 398.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.819e-05/0.08254, allocations: 7.984 kB / 398.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.08255, allocations: 4 kB / 398.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.138e-05/0.08264, allocations: 123.8 kB / 398.3 MB, free: 13.49 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08265, allocations: 0 / 398.3 MB, free: 13.49 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.0829, allocations: 31.91 kB / 398.3 MB, free: 13.46 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (6): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0001049/0.08301, allocations: 103.2 kB / 398.4 MB, free: 13.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000154/0.08317, allocations: 111.6 kB / 398.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.08318, allocations: 0 / 398.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.89e-05/0.08323, allocations: 71.39 kB / 398.6 MB, free: 13.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.08358, allocations: 36.38 kB / 398.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004159/0.084, allocations: 297 kB / 398.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.08424, allocations: 0.7006 MB / 399.6 MB, free: 12.06 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.794e-05/0.0843, allocations: 23.36 kB / 399.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.0843, allocations: 0 / 399.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of Templates: time 0.002802/0.08711, allocations: 1.681 MB / 401.3 MB, free: 10.37 MB / 302.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)