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.001781/0.001781, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.455/1.455, allocations: 205.1 MB / 222.4 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0558/0.0558, allocations: 11.84 MB / 281.6 MB, free: 9.441 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.00153/0.00153, allocations: 71.89 kB / 341.8 MB, free: 21.97 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09959/0.1011, allocations: 49.22 MB / 391 MB, free: 4.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.003371/0.1045, allocations: 1.925 MB / 393 MB, free: 2.75 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.1057, allocations: 0.6163 MB / 393.6 MB, free: 2.129 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.1059, allocations: 4 kB / 393.6 MB, free: 2.125 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.746e-05/0.106, allocations: 11.86 kB / 393.6 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004753/0.1065, allocations: 71.52 kB / 393.7 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001284/0.1066, allocations: 27.91 kB / 393.7 MB, free: 2.016 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002677/0.1069, allocations: 127.3 kB / 393.8 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.1071, allocations: 23.98 kB / 393.8 MB, free: 1.867 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.1072, allocations: 51.8 kB / 393.9 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.1074, allocations: 55.77 kB / 394 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.1074, allocations: 8 kB / 394 MB, free: 1.754 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.956e-05/0.1075, allocations: 15.98 kB / 394 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.98e-05/0.1075, allocations: 15.88 kB / 394 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.1077, allocations: 59.73 kB / 394.1 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.1079, allocations: 92 kB / 394.1 MB, free: 1.574 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.1079, allocations: 0 / 394.1 MB, free: 1.574 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.4e-06/0.1079, allocations: 0 / 394.1 MB, free: 1.574 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.1079, allocations: 3.938 kB / 394.1 MB, free: 1.57 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.0006535/0.1086, allocations: 424.8 kB / 394.6 MB, free: 1.102 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.1086, allocations: 19.83 kB / 394.6 MB, free: 1.082 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.479e-05/0.1087, allocations: 12.75 kB / 394.6 MB, free: 1.07 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.109, allocations: 204.1 kB / 394.8 MB, free: 0.832 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.109, allocations: 384 / 394.8 MB, free: 0.832 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.1091, allocations: 16.12 kB / 394.8 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.1093, allocations: 81.66 kB / 394.9 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.1093, allocations: 0 / 394.9 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.1093, allocations: 4 kB / 394.9 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.1093, allocations: 4 kB / 394.9 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.1095, allocations: 47.97 kB / 394.9 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008012/0.1103, allocations: 0.4971 MB / 395.4 MB, free: 100 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.925e-05/0.1104, allocations: 50.55 kB / 395.5 MB, free: 40 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.619e-05/0.1104, allocations: 16.92 kB / 395.5 MB, free: 20 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.1105, allocations: 0 / 395.5 MB, free: 20 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.306e-05/0.1105, allocations: 42.55 kB / 395.5 MB, free: 15.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.1105, allocations: 0 / 395.5 MB, free: 15.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002736/0.1108, allocations: 103.4 kB / 395.6 MB, free: 15.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.1109, allocations: 77.11 kB / 395.7 MB, free: 15.76 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.111, allocations: 162.2 kB / 395.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.1111, allocations: 25.7 kB / 395.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.403e-05/0.1111, allocations: 115.9 kB / 396 MB, free: 15.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.382e-05/0.1112, allocations: 11.81 kB / 396 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.662e-05/0.1112, allocations: 25.7 kB / 396.1 MB, free: 15.4 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1113, allocations: 322.8 kB / 396.4 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.06e-05/0.1114, allocations: 19.94 kB / 396.4 MB, free: 15.06 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.597e-05/0.1114, allocations: 20.05 kB / 396.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.1115, allocations: 100.2 kB / 396.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1116, allocations: 0 / 396.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001593/0.1117, allocations: 111.4 kB / 396.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/0.1118, allocations: 41.62 kB / 396.7 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1118, allocations: 0 / 396.7 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.1118, allocations: 0 / 396.7 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.1119, allocations: 15.88 kB / 396.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.1119, allocations: 0 / 396.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.685e-05/0.112, allocations: 11.84 kB / 396.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.112, allocations: 7.984 kB / 396.7 MB, free: 14.72 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 0.0001148/0.1121, allocations: 147.5 kB / 396.8 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.1122, allocations: 11.84 kB / 396.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001814/0.1124, allocations: 103.7 kB / 396.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.1124, allocations: 4 kB / 397 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1124, allocations: 0 / 397 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1124, allocations: 0 / 397 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004185/0.1128, allocations: 400.8 kB / 397.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1128, allocations: 0 / 397.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.089e-05/0.1129, allocations: 8 kB / 397.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1129, allocations: 0 / 397.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.1129, allocations: 4 kB / 397.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1129, allocations: 3.938 kB / 397.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1129, allocations: 0 / 397.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.1131, allocations: 206.1 kB / 397.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.31e-05/0.1132, allocations: 101 kB / 397.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.1133, allocations: 8 kB / 397.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.028e-05/0.1134, allocations: 0 / 397.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.1134, allocations: 8 kB / 397.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.1134, allocations: 0 / 397.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001194/0.1135, allocations: 131.8 kB / 397.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1135, allocations: 0 / 397.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002843/0.1138, allocations: 31.91 kB / 397.8 MB, free: 13.44 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.000214/0.114, allocations: 111.2 kB / 397.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002401/0.1143, allocations: 103.4 kB / 398 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1143, allocations: 0 / 398 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.157e-05/0.1144, allocations: 71.34 kB / 398.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005207/0.1149, allocations: 34.42 kB / 398.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006486/0.1156, allocations: 243.3 kB / 398.4 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.116, allocations: 0.7045 MB / 399.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.525e-05/0.1161, allocations: 13.3 kB / 399.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.1162, allocations: 27.3 kB / 399.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1162, allocations: 0 / 399.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of Templates: time 0.004542/0.1207, allocations: 1.672 MB / 400.8 MB, free: 10.42 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)