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.0008554/0.0008555, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0009334/0.0009337, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.876/1.876, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0557/0.0557, allocations: 11.86 MB / 282.2 MB, free: 9.473 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.000564/0.0005641, allocations: 23.94 kB / 342.9 MB, free: 22.48 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1139, allocations: 50.21 MB / 393.1 MB, free: 4.215 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.002502/0.1165, allocations: 1.846 MB / 395 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.1179, allocations: 0.6012 MB / 395.6 MB, free: 1.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002257/0.1182, allocations: 0 / 395.6 MB, free: 1.75 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.276e-05/0.1183, allocations: 19.84 kB / 395.6 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004795/0.1187, allocations: 87.38 kB / 395.7 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.1189, allocations: 19.97 kB / 395.7 MB, free: 1.625 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.1191, allocations: 131.2 kB / 395.8 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.1193, allocations: 19.97 kB / 395.9 MB, free: 1.477 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.1194, allocations: 43.84 kB / 395.9 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.1196, allocations: 43.8 kB / 395.9 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.1196, allocations: 4 kB / 395.9 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.193e-05/0.1197, allocations: 11.98 kB / 396 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.1197, allocations: 11.94 kB / 396 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.092e-05/0.1198, allocations: 49.58 kB / 396 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.1199, allocations: 76.03 kB / 396.1 MB, free: 1.234 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1199, allocations: 4 kB / 396.1 MB, free: 1.23 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1199, allocations: 0 / 396.1 MB, free: 1.23 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.12, allocations: 0 / 396.1 MB, free: 1.23 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.0005289/0.1205, allocations: 412.6 kB / 396.5 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.1205, allocations: 8.031 kB / 396.5 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.403e-05/0.1206, allocations: 11.91 kB / 396.5 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.1208, allocations: 202.8 kB / 396.7 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.1209, allocations: 4 kB / 396.7 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.1209, allocations: 8 kB / 396.7 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.121, allocations: 85.66 kB / 396.8 MB, free: 424 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.1211, allocations: 0 / 396.8 MB, free: 424 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1211, allocations: 0 / 396.8 MB, free: 424 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.1211, allocations: 4 kB / 396.8 MB, free: 420 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.332e-05/0.1212, allocations: 51.97 kB / 396.9 MB, free: 368 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006437/0.1218, allocations: 0.501 MB / 397.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.989e-05/0.1219, allocations: 46.56 kB / 397.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.222e-05/0.122, allocations: 16.98 kB / 397.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.122, allocations: 11.92 kB / 397.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.122, allocations: 38.5 kB / 397.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.122, allocations: 0 / 397.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002597/0.1223, allocations: 99.3 kB / 397.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.1224, allocations: 77.11 kB / 397.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.1225, allocations: 162.2 kB / 397.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.1226, allocations: 29.7 kB / 397.8 MB, free: 15.24 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.305e-05/0.1226, allocations: 107.9 kB / 397.9 MB, free: 15.13 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.1227, allocations: 11.81 kB / 398 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-06/0.1227, allocations: 4 kB / 398 MB, free: 15.11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1228, allocations: 318.8 kB / 398.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.766e-05/0.1229, allocations: 15.98 kB / 398.3 MB, free: 14.78 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.85e-05/0.1229, allocations: 19.94 kB / 398.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.304e-05/0.123, allocations: 45.69 kB / 398.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.123, allocations: 0 / 398.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001623/0.1231, allocations: 115.2 kB / 398.5 MB, free: 14.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.862e-05/0.1232, allocations: 37.66 kB / 398.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1232, allocations: 0 / 398.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1232, allocations: 0 / 398.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.609e-05/0.1233, allocations: 15.98 kB / 398.5 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1233, allocations: 0 / 398.5 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.478e-05/0.1234, allocations: 11.84 kB / 398.5 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.1234, allocations: 0 / 398.5 MB, free: 14.51 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001173/0.1235, allocations: 156.3 kB / 398.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.1236, allocations: 11.91 kB / 398.7 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001957/0.1238, allocations: 115.6 kB / 398.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1238, allocations: 0 / 398.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.1238, allocations: 4 kB / 398.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.1238, allocations: 0 / 398.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004221/0.1243, allocations: 385 kB / 399.2 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.1243, allocations: 3.953 kB / 399.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.093e-05/0.1243, allocations: 8 kB / 399.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1243, allocations: 4.031 kB / 399.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.1244, allocations: 4 kB / 399.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-05/0.1244, allocations: 4 kB / 399.2 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1244, allocations: 384 / 399.2 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.1246, allocations: 206 kB / 399.4 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.311e-05/0.1247, allocations: 104.9 kB / 399.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.1247, allocations: 0 / 399.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.562e-05/0.1248, allocations: 8 kB / 399.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.519e-05/0.1248, allocations: 0 / 399.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.1248, allocations: 4 kB / 399.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.125, allocations: 127.2 kB / 399.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.125, allocations: 0 / 399.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.1252, allocations: 28 kB / 399.7 MB, free: 13.22 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001494/0.1254, allocations: 103.2 kB / 399.8 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001751/0.1256, allocations: 99.33 kB / 399.9 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1256, allocations: 0 / 399.9 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.465e-05/0.1256, allocations: 83.33 kB / 400 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.126, allocations: 31.86 kB / 400 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004806/0.1265, allocations: 285.7 kB / 400.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.1269, allocations: 0.7047 MB / 401 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.48e-05/0.1269, allocations: 21.39 kB / 401 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.127, allocations: 15.44 kB / 401 MB, free: 11.8 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.127, allocations: 0 / 401 MB, free: 11.8 MB / 302.1 MB Notification: Performance of Templates: time 0.004801/0.1318, allocations: 1.54 MB / 402.5 MB, free: 10.29 MB / 302.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: