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.001373/0.001373, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001293/0.001293, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.475/1.475, allocations: 205.1 MB / 223.2 MB, free: 12.11 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05583/0.05583, 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.00171/0.00171, allocations: 71.81 kB / 343.3 MB, free: 3.176 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2206, allocations: 49.21 MB / 392.5 MB, free: 49.35 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.003233/0.2239, allocations: 1.934 MB / 394.4 MB, free: 48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.2251, allocations: 0.6049 MB / 395 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.2253, allocations: 1.375 kB / 395 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.378e-05/0.2254, allocations: 12.61 kB / 395 MB, free: 47.56 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000456/0.2259, allocations: 72.84 kB / 395.1 MB, free: 47.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001272/0.226, allocations: 21.89 kB / 395.1 MB, free: 47.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002898/0.2263, allocations: 134.7 kB / 395.3 MB, free: 47.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.2265, allocations: 37.39 kB / 395.3 MB, free: 47.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.2267, allocations: 55.2 kB / 395.3 MB, free: 47.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.2268, allocations: 51.67 kB / 395.4 MB, free: 47.36 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.2268, allocations: 6.562 kB / 395.4 MB, free: 47.36 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.094e-05/0.2269, allocations: 17.42 kB / 395.4 MB, free: 47.36 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.731e-05/0.227, allocations: 16.88 kB / 395.4 MB, free: 47.35 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.307e-05/0.227, allocations: 55.94 kB / 395.5 MB, free: 47.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.2273, allocations: 97.02 kB / 395.6 MB, free: 47.29 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2273, allocations: 0 / 395.6 MB, free: 47.29 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2273, allocations: 0 / 395.6 MB, free: 47.29 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.2273, allocations: 0.9375 kB / 395.6 MB, free: 47.29 MB / 318.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.000488/0.2278, allocations: 423.8 kB / 396 MB, free: 46.86 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.2278, allocations: 18.27 kB / 396 MB, free: 46.85 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/0.2279, allocations: 10.34 kB / 396 MB, free: 46.85 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.2282, allocations: 202.6 kB / 396.2 MB, free: 46.63 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.2282, allocations: 7.469 kB / 396.2 MB, free: 46.62 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.2282, allocations: 10 kB / 396.2 MB, free: 46.62 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.2284, allocations: 86.23 kB / 396.3 MB, free: 46.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.2284, allocations: 0 / 396.3 MB, free: 46.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.2284, allocations: 0.7188 kB / 396.3 MB, free: 46.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.2284, allocations: 7.016 kB / 396.3 MB, free: 46.56 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.2285, allocations: 50.72 kB / 396.4 MB, free: 46.55 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005322/0.2291, allocations: 0.5015 MB / 396.9 MB, free: 46.06 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.946e-05/0.2291, allocations: 38.94 kB / 396.9 MB, free: 46.03 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.147e-05/0.2292, allocations: 16.89 kB / 396.9 MB, free: 46.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.2292, allocations: 1.609 kB / 396.9 MB, free: 46.02 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/0.2292, allocations: 35.69 kB / 397 MB, free: 45.97 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.643e-06/0.2292, allocations: 0 / 397 MB, free: 45.97 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002077/0.2294, allocations: 111.4 kB / 397.1 MB, free: 45.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.2295, allocations: 82.66 kB / 397.2 MB, free: 45.79 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.2296, allocations: 160.5 kB / 397.3 MB, free: 45.67 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.2296, allocations: 26.95 kB / 397.3 MB, free: 45.64 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.116e-05/0.2297, allocations: 110.7 kB / 397.5 MB, free: 45.53 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.27e-05/0.2297, allocations: 20.36 kB / 397.5 MB, free: 45.52 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/0.2297, allocations: 27.97 kB / 397.5 MB, free: 45.49 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.307e-05/0.2298, allocations: 319.7 kB / 397.8 MB, free: 45.18 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.768e-05/0.2298, allocations: 15.23 kB / 397.8 MB, free: 45.17 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.288e-05/0.2298, allocations: 18.59 kB / 397.8 MB, free: 45.16 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.013e-05/0.2299, allocations: 90.62 kB / 397.9 MB, free: 45.08 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2299, allocations: 0 / 397.9 MB, free: 45.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001334/0.2301, allocations: 114.2 kB / 398 MB, free: 45 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.2301, allocations: 37.78 kB / 398.1 MB, free: 44.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2301, allocations: 0 / 398.1 MB, free: 44.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.2302, allocations: 5.188 kB / 398.1 MB, free: 44.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.2303, allocations: 15.62 kB / 398.1 MB, free: 44.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2303, allocations: 2.031 kB / 398.1 MB, free: 44.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.629e-05/0.2304, allocations: 10.06 kB / 398.1 MB, free: 44.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.2304, allocations: 1.781 kB / 398.1 MB, free: 44.95 MB / 318.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 7.459e-05/0.2305, allocations: 145.7 kB / 398.3 MB, free: 44.79 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.2305, allocations: 13.34 kB / 398.3 MB, free: 44.79 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001787/0.2307, allocations: 118.5 kB / 398.4 MB, free: 44.69 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2307, allocations: 5.281 kB / 398.4 MB, free: 44.68 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.2307, allocations: 4 kB / 398.4 MB, free: 44.68 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.2307, allocations: 0.6562 kB / 398.4 MB, free: 44.68 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003452/0.2311, allocations: 388.6 kB / 398.8 MB, free: 44.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2311, allocations: 1.344 kB / 398.8 MB, free: 44.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-05/0.2311, allocations: 7.75 kB / 398.8 MB, free: 44.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.2312, allocations: 1.875 kB / 398.8 MB, free: 44.3 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.2312, allocations: 5.219 kB / 398.8 MB, free: 44.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.2312, allocations: 0.9688 kB / 398.8 MB, free: 44.3 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2312, allocations: 5.75 kB / 398.8 MB, free: 44.29 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.2313, allocations: 207.3 kB / 399 MB, free: 44.1 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.489e-05/0.2314, allocations: 92.98 kB / 399.1 MB, free: 44 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.2314, allocations: 1.859 kB / 399.1 MB, free: 44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.617e-05/0.2315, allocations: 6.641 kB / 399.1 MB, free: 43.99 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.2316, allocations: 4 kB / 399.1 MB, free: 43.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.2316, allocations: 0.5156 kB / 399.1 MB, free: 43.99 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001015/0.2317, allocations: 135.2 kB / 399.2 MB, free: 43.89 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2317, allocations: 0 / 399.2 MB, free: 43.89 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.232, allocations: 31.81 kB / 399.3 MB, free: 43.89 MB / 318.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.0001194/0.2321, allocations: 109.6 kB / 399.4 MB, free: 43.79 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001451/0.2323, allocations: 102.8 kB / 399.5 MB, free: 43.71 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2323, allocations: 1.25 kB / 399.5 MB, free: 43.71 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.677e-05/0.2323, allocations: 73.56 kB / 399.6 MB, free: 43.64 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.2326, allocations: 35.59 kB / 399.6 MB, free: 43.62 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004006/0.2331, allocations: 243.1 kB / 399.8 MB, free: 43.45 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.2332, allocations: 0.7024 MB / 400.5 MB, free: 42.75 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.285e-05/0.2333, allocations: 9.734 kB / 400.5 MB, free: 42.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.2333, allocations: 15.47 kB / 400.5 MB, free: 42.74 MB / 318.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2333, allocations: 0 / 400.5 MB, free: 42.74 MB / 318.1 MB Notification: Performance of Templates: time 0.004308/0.2376, allocations: 1.68 MB / 402.2 MB, free: 42.19 MB / 318.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 -s cvode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe 2>&1)