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.001105/0.001105, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008406/0.008406, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.429/1.429, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05247/0.05247, allocations: 11.85 MB / 282.6 MB, free: 9.367 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.001062/0.001062, allocations: 14.34 kB / 343.5 MB, free: 22.12 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1049, allocations: 50.23 MB / 393.8 MB, free: 3.848 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.002335/0.1073, allocations: 1.904 MB / 395.7 MB, free: 1.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.1085, allocations: 0.6436 MB / 396.3 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.1086, allocations: 4 kB / 396.3 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.799e-05/0.1087, allocations: 7.922 kB / 396.3 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003525/0.109, allocations: 59.55 kB / 396.4 MB, free: 1.211 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000104/0.1092, allocations: 19.97 kB / 396.4 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.1093, allocations: 123.3 kB / 396.5 MB, free: 1.07 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1095, allocations: 27.97 kB / 396.5 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.1096, allocations: 43.8 kB / 396.6 MB, free: 1 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.925e-05/0.1097, allocations: 43.84 kB / 396.6 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.1097, allocations: 4 kB / 396.6 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.307e-05/0.1098, allocations: 23.92 kB / 396.6 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.84e-05/0.1098, allocations: 7.938 kB / 396.7 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.508e-05/0.1099, allocations: 81.44 kB / 396.7 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.1101, allocations: 95.86 kB / 396.8 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1101, allocations: 0 / 396.8 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.1101, allocations: 3.984 kB / 396.8 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.1101, allocations: 0 / 396.8 MB, free: 0.7383 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.0004618/0.1106, allocations: 408.8 kB / 397.2 MB, free: 292 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.1106, allocations: 12.03 kB / 397.2 MB, free: 280 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.491e-05/0.1107, allocations: 8.844 kB / 397.3 MB, free: 272 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.1109, allocations: 207.5 kB / 397.5 MB, free: 28 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.1109, allocations: 384 / 397.5 MB, free: 28 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.1109, allocations: 16.12 kB / 397.5 MB, free: 12 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.1111, allocations: 81.56 kB / 397.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.1111, allocations: 0 / 397.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.1111, allocations: 4 kB / 397.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1112, allocations: 11.98 kB / 397.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.626e-05/0.1113, allocations: 47.97 kB / 397.6 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005853/0.1119, allocations: 0.4931 MB / 398.1 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.338e-05/0.1119, allocations: 46.5 kB / 398.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.025e-05/0.112, allocations: 16.98 kB / 398.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.112, allocations: 8 kB / 398.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.112, allocations: 34.56 kB / 398.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.112, allocations: 0 / 398.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002217/0.1123, allocations: 107.4 kB / 398.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.1123, allocations: 77.11 kB / 398.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.1125, allocations: 162.2 kB / 398.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.1125, allocations: 29.7 kB / 398.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.993e-05/0.1125, allocations: 108 kB / 398.7 MB, free: 14.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.1126, allocations: 15.81 kB / 398.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.1126, allocations: 17.66 kB / 398.7 MB, free: 14.6 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.846e-05/0.1127, allocations: 326.8 kB / 399 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.792e-05/0.1128, allocations: 15.98 kB / 399.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.824e-05/0.1128, allocations: 12 kB / 399.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.561e-05/0.1129, allocations: 96.25 kB / 399.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1129, allocations: 0 / 399.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001433/0.113, allocations: 111.3 kB / 399.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.1131, allocations: 37.64 kB / 399.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.1131, allocations: 4 kB / 399.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.1131, allocations: 0 / 399.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.1132, allocations: 15.92 kB / 399.3 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1132, allocations: 240 / 399.3 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.978e-05/0.1133, allocations: 15.84 kB / 399.3 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.1133, allocations: 7.984 kB / 399.3 MB, free: 13.93 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.832e-05/0.1134, allocations: 139.5 kB / 399.5 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.1135, allocations: 16.03 kB / 399.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001756/0.1136, allocations: 119.6 kB / 399.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1137, allocations: 4 kB / 399.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.1137, allocations: 3.984 kB / 399.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1137, allocations: 3.938 kB / 399.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003389/0.114, allocations: 377.1 kB / 400 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.114, allocations: 0 / 400 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.811e-05/0.1141, allocations: 11.94 kB / 400 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1141, allocations: 0 / 400 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1141, allocations: 11.98 kB / 400 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1141, allocations: 4.031 kB / 400 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1141, allocations: 0 / 400 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.1143, allocations: 202 kB / 400.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.527e-05/0.1144, allocations: 100.8 kB / 400.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.1144, allocations: 4 kB / 400.3 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.662e-05/0.1145, allocations: 0 / 400.3 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.375e-05/0.1145, allocations: 7.984 kB / 400.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.1145, allocations: 4 kB / 400.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.498e-05/0.1146, allocations: 131.8 kB / 400.5 MB, free: 12.67 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.272e-06/0.1146, allocations: 0 / 400.5 MB, free: 12.67 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.1149, allocations: 31.94 kB / 400.5 MB, free: 12.64 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.0001193/0.115, allocations: 107.2 kB / 400.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001361/0.1151, allocations: 95.39 kB / 400.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1151, allocations: 0 / 400.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.203e-05/0.1152, allocations: 79.34 kB / 400.8 MB, free: 12.33 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.1156, allocations: 31.91 kB / 400.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004094/0.116, allocations: 297.8 kB / 401.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.1162, allocations: 0.6931 MB / 401.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.524e-05/0.1163, allocations: 21.06 kB / 401.8 MB, free: 11.24 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.973e-05/0.1163, allocations: 19.38 kB / 401.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1163, allocations: 0 / 401.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of Templates: time 0.003877/0.1202, allocations: 1.585 MB / 403.4 MB, free: 9.66 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: