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.001058/0.001058, allocations: 104.3 kB / 16.29 MB, free: 6.43 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.001019/0.001019, allocations: 184 kB / 17.22 MB, free: 5.934 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.312/1.312, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05495/0.05495, allocations: 11.84 MB / 282.3 MB, free: 312 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.001499/0.001499, allocations: 68.52 kB / 342.5 MB, free: 3.922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.21, allocations: 49.23 MB / 391.8 MB, free: 49.12 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.002702/0.2128, allocations: 1.925 MB / 393.7 MB, free: 47.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008191/0.2136, allocations: 0.6012 MB / 394.3 MB, free: 47.35 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.479e-05/0.2137, allocations: 1.375 kB / 394.3 MB, free: 47.35 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.966e-05/0.2137, allocations: 13.66 kB / 394.3 MB, free: 47.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002728/0.214, allocations: 79.77 kB / 394.4 MB, free: 47.29 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.688e-05/0.2141, allocations: 18.47 kB / 394.4 MB, free: 47.28 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.2143, allocations: 139.1 kB / 394.5 MB, free: 47.21 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.2144, allocations: 24.19 kB / 394.6 MB, free: 47.2 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.44e-05/0.2145, allocations: 47.14 kB / 394.6 MB, free: 47.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.879e-05/0.2146, allocations: 54.62 kB / 394.7 MB, free: 47.15 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.2146, allocations: 6.875 kB / 394.7 MB, free: 47.15 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.687e-05/0.2147, allocations: 25.53 kB / 394.7 MB, free: 47.14 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/0.2147, allocations: 17.12 kB / 394.7 MB, free: 47.13 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.793e-05/0.2148, allocations: 51.48 kB / 394.8 MB, free: 47.1 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.215, allocations: 96.97 kB / 394.9 MB, free: 47.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.215, allocations: 1.844 kB / 394.9 MB, free: 47.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.215, allocations: 0 / 394.9 MB, free: 47.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.215, allocations: 0 / 394.9 MB, free: 47.07 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.0003698/0.2154, allocations: 426.4 kB / 395.3 MB, free: 46.64 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.2154, allocations: 12.98 kB / 395.3 MB, free: 46.63 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.2154, allocations: 15.08 kB / 395.3 MB, free: 46.62 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.2156, allocations: 206 kB / 395.5 MB, free: 46.4 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.2156, allocations: 8.062 kB / 395.5 MB, free: 46.4 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.2156, allocations: 9 kB / 395.5 MB, free: 46.39 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.2158, allocations: 87.55 kB / 395.6 MB, free: 46.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.2158, allocations: 0 / 395.6 MB, free: 46.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.2158, allocations: 0 / 395.6 MB, free: 46.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.2158, allocations: 2.719 kB / 395.6 MB, free: 46.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.669e-05/0.2159, allocations: 56.52 kB / 395.7 MB, free: 46.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005149/0.2165, allocations: 0.5062 MB / 396.2 MB, free: 45.83 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.098e-05/0.2165, allocations: 42.3 kB / 396.2 MB, free: 45.79 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.066e-05/0.2166, allocations: 18.34 kB / 396.2 MB, free: 45.78 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.2166, allocations: 0 / 396.2 MB, free: 45.78 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.252e-05/0.2166, allocations: 32.7 kB / 396.3 MB, free: 45.74 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.2166, allocations: 0 / 396.3 MB, free: 45.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002025/0.2168, allocations: 107 kB / 396.4 MB, free: 45.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.2169, allocations: 87 kB / 396.4 MB, free: 45.55 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.217, allocations: 159.8 kB / 396.6 MB, free: 45.44 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.627e-06/0.217, allocations: 26.83 kB / 396.6 MB, free: 45.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/0.217, allocations: 107.3 kB / 396.7 MB, free: 45.3 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.379e-05/0.2171, allocations: 20.38 kB / 396.8 MB, free: 45.29 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.2171, allocations: 23.52 kB / 396.8 MB, free: 45.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.764e-05/0.2172, allocations: 320.5 kB / 397.1 MB, free: 44.95 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.013e-05/0.2172, allocations: 19.03 kB / 397.1 MB, free: 44.95 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.454e-05/0.2173, allocations: 18.94 kB / 397.1 MB, free: 44.94 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.2174, allocations: 94.05 kB / 397.2 MB, free: 44.85 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2174, allocations: 1.344 kB / 397.2 MB, free: 44.85 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001367/0.2175, allocations: 116.7 kB / 397.3 MB, free: 44.76 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.2175, allocations: 36.59 kB / 397.4 MB, free: 44.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2176, allocations: 0.7969 kB / 397.4 MB, free: 44.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.2176, allocations: 1.656 kB / 397.4 MB, free: 44.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.2177, allocations: 15.38 kB / 397.4 MB, free: 44.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.2177, allocations: 0 / 397.4 MB, free: 44.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.669e-05/0.2178, allocations: 18.62 kB / 397.4 MB, free: 44.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.2178, allocations: 7.25 kB / 397.4 MB, free: 44.7 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 6.153e-05/0.2178, allocations: 142 kB / 397.6 MB, free: 44.55 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.2179, allocations: 11.91 kB / 397.6 MB, free: 44.55 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001585/0.2181, allocations: 113.9 kB / 397.7 MB, free: 44.45 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.2181, allocations: 1.844 kB / 397.7 MB, free: 44.45 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2181, allocations: 0 / 397.7 MB, free: 44.45 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2181, allocations: 2.172 kB / 397.7 MB, free: 44.45 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.2184, allocations: 392.3 kB / 398.1 MB, free: 44.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2184, allocations: 0 / 398.1 MB, free: 44.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.166e-05/0.2185, allocations: 8.516 kB / 398.1 MB, free: 44.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2185, allocations: 1.531 kB / 398.1 MB, free: 44.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.2185, allocations: 6.938 kB / 398.1 MB, free: 44.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2185, allocations: 0 / 398.1 MB, free: 44.07 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2185, allocations: 0 / 398.1 MB, free: 44.07 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.2186, allocations: 208.4 kB / 398.3 MB, free: 43.87 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/0.2187, allocations: 92.94 kB / 398.4 MB, free: 43.77 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.2187, allocations: 2.859 kB / 398.4 MB, free: 43.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.516e-05/0.2188, allocations: 1.375 kB / 398.4 MB, free: 43.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.372e-05/0.2188, allocations: 6.719 kB / 398.4 MB, free: 43.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.2188, allocations: 2.344 kB / 398.4 MB, free: 43.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.19e-05/0.2189, allocations: 131.1 kB / 398.5 MB, free: 43.67 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2189, allocations: 0 / 398.5 MB, free: 43.67 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.2192, allocations: 32.31 kB / 398.5 MB, free: 43.66 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.0001052/0.2193, allocations: 113.2 kB / 398.7 MB, free: 43.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001526/0.2195, allocations: 96 kB / 398.8 MB, free: 43.49 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2195, allocations: 3.938 kB / 398.8 MB, free: 43.49 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.428e-05/0.2195, allocations: 73.89 kB / 398.8 MB, free: 43.42 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.2199, allocations: 43.7 kB / 398.9 MB, free: 43.39 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003879/0.2203, allocations: 245.7 kB / 399.1 MB, free: 43.21 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.2205, allocations: 0.6978 MB / 399.8 MB, free: 42.52 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.799e-05/0.2205, allocations: 18.44 kB / 399.8 MB, free: 42.51 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.2206, allocations: 15.62 kB / 399.8 MB, free: 42.5 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2206, allocations: 0 / 399.8 MB, free: 42.5 MB / 318.1 MB Notification: Performance of Templates: time 0.004313/0.2249, allocations: 1.668 MB / 401.5 MB, free: 42.08 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 gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe 2>&1)