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.001103/0.001103, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00107/0.001071, allocations: 195.2 kB / 16.14 MB, free: 6.711 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.434/1.434, allocations: 205.1 MB / 222 MB, free: 4.793 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.84 MB / 281.2 MB, free: 9.648 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.001346/0.001346, allocations: 67.91 kB / 341.1 MB, free: 22.41 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1045, allocations: 49.23 MB / 390.4 MB, free: 5.133 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.003299/0.1078, allocations: 2.254 MB / 392.6 MB, free: 2.859 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.1089, allocations: 0.6475 MB / 393.3 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.938e-05/0.109, allocations: 4 kB / 393.3 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.292e-05/0.1091, allocations: 7.922 kB / 393.3 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.1094, allocations: 67.48 kB / 393.3 MB, free: 2.129 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.729e-05/0.1095, allocations: 19.97 kB / 393.4 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.1097, allocations: 127.2 kB / 393.5 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.1098, allocations: 23.97 kB / 393.5 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.136e-05/0.1099, allocations: 55.84 kB / 393.6 MB, free: 1.906 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.11, allocations: 51.72 kB / 393.6 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.11, allocations: 4 kB / 393.6 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.912e-05/0.1101, allocations: 12 kB / 393.6 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.319e-05/0.1101, allocations: 15.92 kB / 393.6 MB, free: 1.824 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.193e-05/0.1102, allocations: 43.8 kB / 393.7 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.1104, allocations: 99.94 kB / 393.8 MB, free: 1.684 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1104, allocations: 0 / 393.8 MB, free: 1.684 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1104, allocations: 0 / 393.8 MB, free: 1.684 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.1104, allocations: 0 / 393.8 MB, free: 1.684 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.0004951/0.1109, allocations: 428.8 kB / 394.2 MB, free: 1.211 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.1109, allocations: 8.031 kB / 394.2 MB, free: 1.203 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.111, allocations: 12.75 kB / 394.2 MB, free: 1.191 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.1112, allocations: 200.1 kB / 394.4 MB, free: 0.957 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.1112, allocations: 4.375 kB / 394.4 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.1113, allocations: 12.12 kB / 394.4 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.1114, allocations: 77.66 kB / 394.5 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1115, allocations: 0 / 394.5 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.1115, allocations: 4 kB / 394.5 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.1115, allocations: 8 kB / 394.5 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.1116, allocations: 55.91 kB / 394.6 MB, free: 0.793 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006679/0.1123, allocations: 0.501 MB / 395.1 MB, free: 216 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.507e-05/0.1124, allocations: 42.45 kB / 395.1 MB, free: 164 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.085e-05/0.1124, allocations: 24.97 kB / 395.1 MB, free: 136 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.1124, allocations: 0 / 395.1 MB, free: 136 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.1125, allocations: 38.56 kB / 395.2 MB, free: 88 kB / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 8.81e-07/0.1125, allocations: 0 / 395.2 MB, free: 88 kB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002369/0.1127, allocations: 103.2 kB / 395.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.1128, allocations: 77.11 kB / 395.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.1129, allocations: 162.2 kB / 395.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.113, allocations: 29.7 kB / 395.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.079e-05/0.113, allocations: 107.9 kB / 395.7 MB, free: 15.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.457e-05/0.113, allocations: 15.8 kB / 395.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.1131, allocations: 25.72 kB / 395.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1132, allocations: 318.8 kB / 396 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.802e-05/0.1133, allocations: 19.98 kB / 396 MB, free: 15.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.366e-05/0.1133, allocations: 19.98 kB / 396 MB, free: 15.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.653e-05/0.1134, allocations: 96.25 kB / 396.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1134, allocations: 3.938 kB / 396.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001587/0.1136, allocations: 111.3 kB / 396.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.57e-05/0.1136, allocations: 36.45 kB / 396.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.1136, allocations: 4 kB / 396.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1136, allocations: 0 / 396.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.1138, allocations: 20.17 kB / 396.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.1138, allocations: 240 / 396.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.545e-05/0.1139, allocations: 11.84 kB / 396.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.1139, allocations: 4 kB / 396.3 MB, free: 14.85 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.0001001/0.114, allocations: 143.5 kB / 396.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.114, allocations: 15.83 kB / 396.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001777/0.1142, allocations: 123.6 kB / 396.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1142, allocations: 0 / 396.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1142, allocations: 0 / 396.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1142, allocations: 0 / 396.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003795/0.1146, allocations: 385 kB / 397 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1146, allocations: 0 / 397 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.17e-05/0.1147, allocations: 11.92 kB / 397 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.1147, allocations: 4 kB / 397 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.1147, allocations: 0 / 397 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1147, allocations: 3.938 kB / 397 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1147, allocations: 4.031 kB / 397 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.1149, allocations: 206 kB / 397.2 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.814e-05/0.115, allocations: 96.94 kB / 397.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.115, allocations: 0 / 397.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-05/0.1151, allocations: 4 kB / 397.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.1151, allocations: 7.984 kB / 397.3 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.1151, allocations: 7.938 kB / 397.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.185e-05/0.1152, allocations: 131.8 kB / 397.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1153, allocations: 0 / 397.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.1155, allocations: 31.91 kB / 397.5 MB, free: 13.55 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.0001385/0.1157, allocations: 107.2 kB / 397.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001525/0.1158, allocations: 95.39 kB / 397.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1158, allocations: 0 / 397.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.286e-05/0.1159, allocations: 75.53 kB / 397.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.1163, allocations: 43.91 kB / 397.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004415/0.1168, allocations: 264.8 kB / 398 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.117, allocations: 0.7009 MB / 398.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.718e-05/0.1171, allocations: 17.08 kB / 398.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.098e-05/0.1172, allocations: 15.38 kB / 398.8 MB, free: 12.17 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1172, allocations: 0 / 398.8 MB, free: 12.17 MB / 302.1 MB Notification: Performance of Templates: time 0.004006/0.1212, allocations: 1.599 MB / 400.4 MB, free: 10.59 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)