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.0008815/0.0008815, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0008895/0.0008895, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.241/1.241, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05507/0.05507, allocations: 11.85 MB / 282.2 MB, free: 9.48 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.0005509/0.000551, allocations: 28.2 kB / 343 MB, free: 22.4 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07543/0.07599, allocations: 50.21 MB / 393.2 MB, free: 4.137 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.001831/0.07786, allocations: 1.718 MB / 394.9 MB, free: 2.406 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008456/0.07873, allocations: 0.613 MB / 395.5 MB, free: 1.789 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.27e-05/0.07884, allocations: 0 / 395.5 MB, free: 1.789 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.52e-05/0.07889, allocations: 15.84 kB / 395.6 MB, free: 1.773 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002832/0.07917, allocations: 111.6 kB / 395.7 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.271e-05/0.07928, allocations: 15.97 kB / 395.7 MB, free: 1.648 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.07943, allocations: 103.8 kB / 395.8 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.238e-05/0.07953, allocations: 19.98 kB / 395.8 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.162e-05/0.07962, allocations: 39.84 kB / 395.8 MB, free: 1.488 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.802e-05/0.07973, allocations: 47.83 kB / 395.9 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.07975, allocations: 4 kB / 395.9 MB, free: 1.438 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.086e-05/0.07981, allocations: 16 kB / 395.9 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.07984, allocations: 7.938 kB / 395.9 MB, free: 1.414 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.07988, allocations: 49.62 kB / 396 MB, free: 1.359 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.07999, allocations: 72.11 kB / 396 MB, free: 1.289 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.08001, allocations: 11.94 kB / 396 MB, free: 1.277 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.08001, allocations: 0 / 396 MB, free: 1.277 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.08002, allocations: 0 / 396 MB, free: 1.277 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.0003862/0.08041, allocations: 400.6 kB / 396.4 MB, free: 0.832 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.08046, allocations: 11.97 kB / 396.4 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.376e-05/0.0805, allocations: 38.56 kB / 396.5 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.08053, allocations: 11.91 kB / 396.5 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.08072, allocations: 194.8 kB / 396.7 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.517e-06/0.08074, allocations: 8 kB / 396.7 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.08076, allocations: 11.94 kB / 396.7 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.08091, allocations: 81.66 kB / 396.8 MB, free: 436 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.08093, allocations: 3.984 kB / 396.8 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.08095, allocations: 0 / 396.8 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.08096, allocations: 4 kB / 396.8 MB, free: 428 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.877e-05/0.08105, allocations: 43.98 kB / 396.8 MB, free: 384 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005848/0.08165, allocations: 0.5127 MB / 397.3 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.259e-05/0.08173, allocations: 46.55 kB / 397.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.08175, allocations: 0 / 397.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.08178, allocations: 34.52 kB / 397.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.08178, allocations: 0 / 397.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001961/0.08199, allocations: 103.5 kB / 397.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.08204, allocations: 81.11 kB / 397.6 MB, free: 15.47 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.08216, allocations: 158.9 kB / 397.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.08219, allocations: 29.7 kB / 397.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.853e-05/0.08226, allocations: 107.9 kB / 397.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.361e-05/0.08228, allocations: 15.81 kB / 397.9 MB, free: 15.15 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-06/0.08229, allocations: 0 / 397.9 MB, free: 15.15 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.853e-05/0.08238, allocations: 322.8 kB / 398.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.443e-05/0.08242, allocations: 19.97 kB / 398.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.901e-05/0.08246, allocations: 16 kB / 398.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.394e-05/0.08252, allocations: 45.69 kB / 398.3 MB, free: 14.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.08253, allocations: 0 / 398.3 MB, free: 14.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001298/0.08267, allocations: 111.3 kB / 398.4 MB, free: 14.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.0827, allocations: 45.64 kB / 398.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.08272, allocations: 4 kB / 398.5 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.08273, allocations: 0 / 398.5 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.892e-05/0.08283, allocations: 8 kB / 398.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.08285, allocations: 0 / 398.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.944e-05/0.08292, allocations: 11.84 kB / 398.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.08294, allocations: 8.219 kB / 398.5 MB, free: 14.54 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.046e-05/0.08303, allocations: 143.5 kB / 398.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.08307, allocations: 11.91 kB / 398.6 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/0.08324, allocations: 123.5 kB / 398.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.08325, allocations: 4 kB / 398.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.08326, allocations: 0 / 398.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.08327, allocations: 0 / 398.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003343/0.08361, allocations: 388.9 kB / 399.1 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.08362, allocations: 3.953 kB / 399.1 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.869e-05/0.08368, allocations: 8 kB / 399.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.08369, allocations: 4.031 kB / 399.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.0837, allocations: 4 kB / 399.2 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.08371, allocations: 0 / 399.2 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.08371, allocations: 0 / 399.2 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.08387, allocations: 219.6 kB / 399.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.777e-05/0.08394, allocations: 93 kB / 399.5 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.08397, allocations: 8 kB / 399.5 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.53e-05/0.08406, allocations: 4.188 kB / 399.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.935e-05/0.08409, allocations: 4 kB / 399.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.0841, allocations: 4 kB / 399.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.017e-05/0.08419, allocations: 132.7 kB / 399.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.0842, allocations: 0 / 399.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002435/0.08445, allocations: 24 kB / 399.6 MB, free: 13.23 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004029/0.08486, allocations: 0.832 MB / 400.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000129/0.085, allocations: 95.39 kB / 400.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.08501, allocations: 0 / 400.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.124e-05/0.08506, allocations: 75.34 kB / 400.6 MB, free: 12.17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.08531, allocations: 35.97 kB / 400.7 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008716/0.08619, allocations: 0.6838 MB / 401.4 MB, free: 11.4 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.08642, allocations: 0.7009 MB / 402.1 MB, free: 10.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.888e-05/0.08649, allocations: 21 kB / 402.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.67e-05/0.08654, allocations: 27.44 kB / 402.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.08655, allocations: 0 / 402.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0119/0.09845, allocations: 2.715 MB / 404.8 MB, free: 7.977 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001469/0.09862, allocations: 171.6 kB / 405 MB, free: 7.734 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/1.646, allocations: 0 / 405 MB, free: 7.734 MB / 302.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/linux/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) Environment - environmentSimulation: