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: "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.TankTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_TankTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.TankTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_TankTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005852/0.005852, allocations: 103.7 kB / 15.74 MB, free: 6.445 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.001349/0.001349, allocations: 196.5 kB / 16.67 MB, free: 6.352 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.344/1.344, allocations: 205.1 MB / 222.6 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05685/0.05685, allocations: 11.84 MB / 281.8 MB, free: 9.305 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.002066/0.002066, allocations: 71.89 kB / 391.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.12, allocations: 49.22 MB / 441.1 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.004186/0.1242, allocations: 1.922 MB / 443 MB, free: 8.121 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.1256, allocations: 0.6165 MB / 443.6 MB, free: 7.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.522e-05/0.1257, allocations: 0 / 443.6 MB, free: 7.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.875e-05/0.1258, allocations: 19.84 kB / 443.6 MB, free: 7.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000416/0.1262, allocations: 71.47 kB / 443.7 MB, free: 7.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001256/0.1264, allocations: 19.97 kB / 443.7 MB, free: 7.391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.1267, allocations: 135.2 kB / 443.9 MB, free: 7.258 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.1268, allocations: 35.97 kB / 443.9 MB, free: 7.223 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.127, allocations: 43.8 kB / 443.9 MB, free: 7.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.1271, allocations: 55.77 kB / 444 MB, free: 7.125 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.1271, allocations: 8 kB / 444 MB, free: 7.117 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.792e-05/0.1272, allocations: 12 kB / 444 MB, free: 7.105 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.361e-05/0.1273, allocations: 19.92 kB / 444 MB, free: 7.086 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.214e-05/0.1274, allocations: 55.67 kB / 444.1 MB, free: 7.031 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.1276, allocations: 99.59 kB / 444.2 MB, free: 6.934 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1277, allocations: 0 / 444.2 MB, free: 6.934 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1277, allocations: 4 kB / 444.2 MB, free: 6.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1277, allocations: 0 / 444.2 MB, free: 6.93 MB / 382.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.0006406/0.1283, allocations: 432.6 kB / 444.6 MB, free: 6.453 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.1284, allocations: 11.89 kB / 444.6 MB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.596e-05/0.1285, allocations: 38.75 kB / 444.6 MB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.534e-05/0.1285, allocations: 8.891 kB / 444.7 MB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.1289, allocations: 200.2 kB / 444.9 MB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.1289, allocations: 8.312 kB / 444.9 MB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.1289, allocations: 11.94 kB / 444.9 MB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.1291, allocations: 84.47 kB / 445 MB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1292, allocations: 0 / 445 MB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.1292, allocations: 4 kB / 445 MB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.1292, allocations: 4 kB / 445 MB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.1293, allocations: 55.95 kB / 445 MB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008641/0.1302, allocations: 0.497 MB / 445.5 MB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.1303, allocations: 46.52 kB / 445.6 MB, free: 5.352 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.753e-05/0.1304, allocations: 16.97 kB / 445.6 MB, free: 5.332 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.1305, allocations: 7.984 kB / 445.6 MB, free: 5.324 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.1305, allocations: 34.5 kB / 445.6 MB, free: 5.281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.643e-06/0.1305, allocations: 0 / 445.6 MB, free: 5.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003334/0.1309, allocations: 107.3 kB / 445.7 MB, free: 5.164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.307e-05/0.1309, allocations: 77.11 kB / 445.8 MB, free: 5.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.1311, allocations: 162.1 kB / 446 MB, free: 4.902 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.1312, allocations: 29.7 kB / 446 MB, free: 4.867 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.509e-05/0.1313, allocations: 108 kB / 446.1 MB, free: 4.758 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.1313, allocations: 23.84 kB / 446.1 MB, free: 4.734 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.762e-05/0.1314, allocations: 25.7 kB / 446.1 MB, free: 4.703 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.1316, allocations: 314.8 kB / 446.4 MB, free: 4.387 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.546e-05/0.1316, allocations: 19.98 kB / 446.5 MB, free: 4.367 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.018e-05/0.1317, allocations: 16 kB / 446.5 MB, free: 4.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.1319, allocations: 96.19 kB / 446.6 MB, free: 4.242 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.1319, allocations: 8 kB / 446.6 MB, free: 4.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002529/0.1322, allocations: 107.3 kB / 446.7 MB, free: 4.117 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.928e-05/0.1322, allocations: 37.64 kB / 446.7 MB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.1322, allocations: 0 / 446.7 MB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1322, allocations: 0 / 446.7 MB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.1324, allocations: 15.98 kB / 446.7 MB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1324, allocations: 256 / 446.7 MB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.49e-05/0.1325, allocations: 11.83 kB / 446.8 MB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.1325, allocations: 8 kB / 446.8 MB, free: 4.039 MB / 382.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.0001448/0.1327, allocations: 151.5 kB / 446.9 MB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.828e-05/0.1327, allocations: 11.89 kB / 446.9 MB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.133, allocations: 115.9 kB / 447 MB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.133, allocations: 0 / 447 MB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.133, allocations: 0 / 447 MB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.133, allocations: 0 / 447 MB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005819/0.1336, allocations: 389 kB / 447.4 MB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1336, allocations: 4 kB / 447.4 MB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.179e-05/0.1337, allocations: 7.984 kB / 447.4 MB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.1337, allocations: 8.031 kB / 447.4 MB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1337, allocations: 0 / 447.4 MB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1338, allocations: 0 / 447.4 MB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1338, allocations: 0 / 447.4 MB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.134, allocations: 209.9 kB / 447.6 MB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.1342, allocations: 100.9 kB / 447.7 MB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.1342, allocations: 0 / 447.7 MB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.1344, allocations: 4 kB / 447.7 MB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.1344, allocations: 15.92 kB / 447.8 MB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-06/0.1344, allocations: 0 / 447.8 MB, free: 2.906 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001495/0.1346, allocations: 123.2 kB / 447.9 MB, free: 2.785 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1346, allocations: 0 / 447.9 MB, free: 2.785 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003306/0.1349, allocations: 28 kB / 447.9 MB, free: 2.758 MB / 382.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.0006254/0.1356, allocations: 0.7501 MB / 448.7 MB, free: 1.969 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000231/0.1358, allocations: 107.5 kB / 448.8 MB, free: 1.852 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1358, allocations: 0 / 448.8 MB, free: 1.852 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.434e-05/0.1359, allocations: 75.33 kB / 448.8 MB, free: 1.766 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005227/0.1365, allocations: 32.05 kB / 448.9 MB, free: 1.734 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.1389, allocations: 1.616 MB / 450.5 MB, free: 24 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.229/0.3679, allocations: 0.6912 MB / 451.2 MB, free: 41.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.741e-05/0.368, allocations: 18.19 kB / 451.2 MB, free: 41.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.724e-05/0.3681, allocations: 35.17 kB / 451.2 MB, free: 41.71 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3681, allocations: 0.5 kB / 451.2 MB, free: 41.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.3917, allocations: 3.075 MB / 454.3 MB, free: 41.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.611/8.002, allocations: 9.156 kB / 454.3 MB, free: 41.29 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_TankTest_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_TankTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe 2>&1)