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.007691/0.007691, allocations: 101.9 kB / 15.73 MB, free: 6.043 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.001589/0.001589, allocations: 188.1 kB / 16.67 MB, free: 5.977 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.515/1.515, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05459/0.05459, allocations: 11.83 MB / 281.7 MB, free: 224 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.001727/0.001727, allocations: 67.42 kB / 392.3 MB, free: 45.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1041, allocations: 49.23 MB / 441.6 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.002485/0.1067, allocations: 1.926 MB / 443.5 MB, free: 140 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.1077, allocations: 0.6086 MB / 444.1 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.086e-05/0.1078, allocations: 0 / 444.1 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.889e-05/0.1079, allocations: 15.86 kB / 444.1 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003726/0.1082, allocations: 87.41 kB / 444.2 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001062/0.1084, allocations: 19.95 kB / 444.2 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.1086, allocations: 131.3 kB / 444.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.1088, allocations: 31.97 kB / 444.4 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.1089, allocations: 47.78 kB / 444.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.109, allocations: 55.72 kB / 444.5 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.109, allocations: 8 kB / 444.5 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.115e-05/0.1091, allocations: 16 kB / 444.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.501e-05/0.1092, allocations: 23.91 kB / 444.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.137e-05/0.1093, allocations: 43.81 kB / 444.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.1095, allocations: 107.6 kB / 444.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.1095, allocations: 3.984 kB / 444.7 MB, free: 14.94 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1095, allocations: 0 / 444.7 MB, free: 14.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.1095, allocations: 0 / 444.7 MB, free: 14.94 MB / 334.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.0005813/0.1101, allocations: 416.9 kB / 445.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.1101, allocations: 11.89 kB / 445.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.817e-05/0.1102, allocations: 12.84 kB / 445.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.1105, allocations: 204.1 kB / 445.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.1105, allocations: 4.375 kB / 445.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.1105, allocations: 12.12 kB / 445.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.1107, allocations: 88.22 kB / 445.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.1107, allocations: 0 / 445.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.1108, allocations: 4 kB / 445.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.1108, allocations: 3.984 kB / 445.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.1109, allocations: 51.92 kB / 445.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000758/0.1117, allocations: 0.4971 MB / 446 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.028e-05/0.1118, allocations: 42.5 kB / 446 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.413e-05/0.1118, allocations: 16.98 kB / 446 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.1118, allocations: 0 / 446 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.1119, allocations: 30.56 kB / 446 MB, free: 13.37 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.001e-06/0.1119, allocations: 3.938 kB / 446 MB, free: 13.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002457/0.1121, allocations: 111.3 kB / 446.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.402e-05/0.1122, allocations: 89.09 kB / 446.2 MB, free: 13.14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.1124, allocations: 162.2 kB / 446.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.1124, allocations: 25.7 kB / 446.4 MB, free: 12.94 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.908e-05/0.1125, allocations: 103.9 kB / 446.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.1125, allocations: 23.64 kB / 446.5 MB, free: 12.81 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/0.1125, allocations: 25.7 kB / 446.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1127, allocations: 318.8 kB / 446.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.239e-05/0.1128, allocations: 23.98 kB / 446.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.19e-05/0.1128, allocations: 15.98 kB / 446.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.1129, allocations: 100.4 kB / 447 MB, free: 12.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1129, allocations: 0 / 447 MB, free: 12.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001674/0.1131, allocations: 111.3 kB / 447.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.157e-05/0.1131, allocations: 33.64 kB / 447.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1132, allocations: 0 / 447.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.1132, allocations: 7.984 kB / 447.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.1133, allocations: 16.17 kB / 447.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.1134, allocations: 0 / 447.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.996e-05/0.1134, allocations: 15.91 kB / 447.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.1135, allocations: 0 / 447.2 MB, free: 12.11 MB / 334.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.0001494/0.1136, allocations: 143.5 kB / 447.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.1137, allocations: 15.84 kB / 447.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002312/0.1139, allocations: 107.7 kB / 447.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1139, allocations: 3.938 kB / 447.5 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.1139, allocations: 0 / 447.5 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1139, allocations: 0 / 447.5 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005212/0.1145, allocations: 389 kB / 447.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1145, allocations: 0 / 447.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.573e-05/0.1145, allocations: 15.92 kB / 447.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1145, allocations: 0 / 447.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.1146, allocations: 0 / 447.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.1146, allocations: 4 kB / 447.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1146, allocations: 0 / 447.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.1148, allocations: 209.9 kB / 448.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.926e-05/0.1149, allocations: 93 kB / 448.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.1149, allocations: 3.938 kB / 448.2 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.413e-05/0.115, allocations: 4 kB / 448.2 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.1151, allocations: 7.984 kB / 448.2 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.1151, allocations: 4 kB / 448.2 MB, free: 10.99 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.1152, allocations: 131.1 kB / 448.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1152, allocations: 0 / 448.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.1155, allocations: 24 kB / 448.3 MB, free: 10.84 MB / 334.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.0001723/0.1157, allocations: 115.2 kB / 448.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.1159, allocations: 103.4 kB / 448.5 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1159, allocations: 3.938 kB / 448.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.369e-05/0.116, allocations: 75.52 kB / 448.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.1163, allocations: 32.05 kB / 448.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004987/0.1168, allocations: 246.2 kB / 448.9 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.1171, allocations: 0.6966 MB / 449.6 MB, free: 9.492 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.869e-05/0.1172, allocations: 21.3 kB / 449.6 MB, free: 9.473 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.1172, allocations: 15.44 kB / 449.6 MB, free: 9.457 MB / 334.1 MB Notification: Performance of SimCode: time 1.8e-07/0.1172, allocations: 0 / 449.6 MB, free: 9.457 MB / 334.1 MB Notification: Performance of Templates: time 0.004355/0.1216, allocations: 1.681 MB / 451.3 MB, free: 7.801 MB / 334.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)