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.0008041/0.0008041, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.004752/0.004752, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.145/1.145, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04885/0.04885, allocations: 11.84 MB / 282.6 MB, free: 9.371 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.0004993/0.0004993, allocations: 16.88 kB / 343.6 MB, free: 22.01 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06482/0.06533, allocations: 50.21 MB / 393.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.001768/0.06713, allocations: 1.915 MB / 395.8 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007904/0.06793, allocations: 0.6397 MB / 396.4 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.945e-05/0.068, allocations: 4 kB / 396.4 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.65e-05/0.06804, allocations: 7.922 kB / 396.4 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002388/0.06828, allocations: 67.58 kB / 396.5 MB, free: 1.098 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.172e-05/0.06837, allocations: 22.61 kB / 396.5 MB, free: 1.078 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.06853, allocations: 135.2 kB / 396.6 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.651e-05/0.06862, allocations: 16 kB / 396.6 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.794e-05/0.06872, allocations: 43.84 kB / 396.7 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.656e-05/0.06881, allocations: 51.78 kB / 396.7 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.06883, allocations: 4 kB / 396.7 MB, free: 0.832 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.642e-05/0.0689, allocations: 12 kB / 396.7 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.06892, allocations: 15.92 kB / 396.8 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.413e-05/0.06899, allocations: 77.42 kB / 396.8 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.06912, allocations: 95.86 kB / 396.9 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.06913, allocations: 0 / 396.9 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.06914, allocations: 4 kB / 396.9 MB, free: 0.625 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.005e-06/0.06914, allocations: 0 / 396.9 MB, free: 0.625 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.000336/0.06948, allocations: 404.8 kB / 397.3 MB, free: 180 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.06952, allocations: 12.03 kB / 397.3 MB, free: 168 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.491e-05/0.06956, allocations: 42.73 kB / 397.4 MB, free: 116 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.0696, allocations: 8.844 kB / 397.4 MB, free: 108 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.06977, allocations: 200 kB / 397.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.06979, allocations: 384 / 397.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.06981, allocations: 15.94 kB / 397.6 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.06997, allocations: 92.16 kB / 397.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.601e-06/0.06998, allocations: 0 / 397.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.07, allocations: 0 / 397.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.07001, allocations: 4 kB / 397.7 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.029e-05/0.0701, allocations: 59.91 kB / 397.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005314/0.07064, allocations: 0.5009 MB / 398.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.474e-05/0.07072, allocations: 38.55 kB / 398.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.945e-05/0.07075, allocations: 16.98 kB / 398.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.07077, allocations: 4 kB / 398.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.0708, allocations: 42.48 kB / 398.4 MB, free: 15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.07081, allocations: 0 / 398.4 MB, free: 15 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001918/0.071, allocations: 103.4 kB / 398.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.07104, allocations: 77.11 kB / 398.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.07117, allocations: 166.8 kB / 398.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.07119, allocations: 25.7 kB / 398.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.687e-05/0.07124, allocations: 107.9 kB / 398.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.268e-05/0.07126, allocations: 11.81 kB / 398.8 MB, free: 14.47 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/0.07129, allocations: 21.72 kB / 398.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.182e-05/0.07138, allocations: 318.8 kB / 399.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.352e-05/0.07142, allocations: 15.98 kB / 399.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.05e-05/0.07145, allocations: 20 kB / 399.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.25e-05/0.07154, allocations: 92.25 kB / 399.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.07155, allocations: 0 / 399.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001347/0.07169, allocations: 119.1 kB / 399.4 MB, free: 13.85 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.07172, allocations: 41.64 kB / 399.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.07173, allocations: 0 / 399.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.205e-06/0.07175, allocations: 4 kB / 399.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.992e-05/0.07184, allocations: 11.98 kB / 399.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.07186, allocations: 4 kB / 399.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.727e-05/0.07192, allocations: 3.938 kB / 399.5 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.966e-06/0.07193, allocations: 4 kB / 399.5 MB, free: 13.78 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 7.679e-05/0.07202, allocations: 140.4 kB / 399.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.07205, allocations: 11.84 kB / 399.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/0.07221, allocations: 120.1 kB / 399.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.07223, allocations: 8 kB / 399.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.07223, allocations: 0 / 399.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.07224, allocations: 4 kB / 399.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003088/0.07256, allocations: 377 kB / 400.1 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.07257, allocations: 4 kB / 400.1 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.661e-05/0.07262, allocations: 11.98 kB / 400.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.07263, allocations: 4 kB / 400.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.07264, allocations: 0 / 400.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.07265, allocations: 0 / 400.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.07266, allocations: 4.031 kB / 400.2 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.0728, allocations: 205.9 kB / 400.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-05/0.07287, allocations: 104.8 kB / 400.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.0729, allocations: 3.938 kB / 400.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.389e-05/0.07298, allocations: 0 / 400.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.008e-05/0.073, allocations: 11.98 kB / 400.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.07301, allocations: 4 kB / 400.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.287e-05/0.0731, allocations: 127.8 kB / 400.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.07311, allocations: 3.938 kB / 400.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002344/0.07334, allocations: 32 kB / 400.6 MB, free: 12.48 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.0003533/0.0737, allocations: 0.7421 MB / 401.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001289/0.07384, allocations: 103.4 kB / 401.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.07386, allocations: 0 / 401.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.585e-05/0.07392, allocations: 75.33 kB / 401.6 MB, free: 11.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.07424, allocations: 27.98 kB / 401.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.07554, allocations: 1.662 MB / 403.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.07575, allocations: 0.7048 MB / 403.9 MB, free: 8.996 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.988e-05/0.07581, allocations: 13.08 kB / 404 MB, free: 8.984 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.807e-05/0.07587, allocations: 27.42 kB / 404 MB, free: 8.957 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.07587, allocations: 0 / 404 MB, free: 8.957 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01104/0.08692, allocations: 2.796 MB / 406.8 MB, free: 6.23 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/0.08712, allocations: 181.9 kB / 407 MB, free: 5.98 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.474/1.561, allocations: 4 kB / 407 MB, free: 5.977 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/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)