Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.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.ServoValveMeteringTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ServoValveMeteringTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ServoValveMeteringTest",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.008103/0.008102, allocations: 95.02 kB / 15.73 MB, free: 6.484 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.001954/0.001954, allocations: 194.2 kB / 16.67 MB, free: 6.391 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.305/1.305, allocations: 205.1 MB / 222.6 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0535/0.0535, allocations: 11.84 MB / 281.8 MB, free: 9.352 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.001456/0.001456, allocations: 67.91 kB / 391.8 MB, free: 3.992 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.241, allocations: 49.24 MB / 441.1 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.004122/0.2451, allocations: 3.593 MB / 444.7 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003658/0.2488, allocations: 2.562 MB / 447.2 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004336/0.2493, allocations: 10.06 kB / 447.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009002/0.2502, allocations: 432.6 kB / 447.7 MB, free: 15.71 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001053/0.2513, allocations: 446.9 kB / 448.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001574/0.2529, allocations: 0.5986 MB / 448.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001075/0.254, allocations: 0.8543 MB / 449.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003316/0.2543, allocations: 191.8 kB / 449.7 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005121/0.2549, allocations: 352.8 kB / 450.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004799/0.2553, allocations: 463.8 kB / 450.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.985e-05/0.2554, allocations: 49.97 kB / 450.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00047/0.2559, allocations: 239.2 kB / 450.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001951/0.2561, allocations: 247 kB / 451.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003314/0.2564, allocations: 412.9 kB / 451.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.2576, allocations: 1.036 MB / 452.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.2576, allocations: 0 / 452.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2576, allocations: 0 / 452.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.2576, allocations: 1.281 kB / 452.5 MB, free: 12.83 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001788/0.2594, allocations: 1.252 MB / 453.8 MB, free: 11.81 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.2595, allocations: 13.48 kB / 453.8 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.189e-05/0.2595, allocations: 80.36 kB / 453.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/0.2597, allocations: 110 kB / 454 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008502/0.2606, allocations: 0.6549 MB / 454.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.2606, allocations: 33.59 kB / 454.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.663e-05/0.2607, allocations: 42.88 kB / 454.7 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007599/0.2614, allocations: 442.5 kB / 455.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.2615, allocations: 0 / 455.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.732e-05/0.2615, allocations: 15.88 kB / 455.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.2615, allocations: 9.156 kB / 455.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007956/0.2623, allocations: 451.1 kB / 455.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002864/0.2652, allocations: 2.475 MB / 458.1 MB, free: 8.379 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007147/0.2659, allocations: 303 kB / 458.4 MB, free: 8.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002518/0.2662, allocations: 125.4 kB / 458.5 MB, free: 8.164 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.712e-05/0.2663, allocations: 8.234 kB / 458.5 MB, free: 8.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.2663, allocations: 39.94 kB / 458.5 MB, free: 8.113 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.954e-06/0.2663, allocations: 4 kB / 458.5 MB, free: 8.109 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009768/0.2673, allocations: 445.8 kB / 459 MB, free: 7.883 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.2673, allocations: 54.94 kB / 459 MB, free: 7.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/0.2689, allocations: 1.366 MB / 460.4 MB, free: 7.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.2689, allocations: 27.05 kB / 460.4 MB, free: 7.129 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003379/0.2692, allocations: 470.2 kB / 460.9 MB, free: 6.723 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.745e-05/0.2693, allocations: 90.66 kB / 461 MB, free: 6.645 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.2694, allocations: 78.05 kB / 461 MB, free: 6.594 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.808e-05/0.2695, allocations: 325.3 kB / 461.3 MB, free: 6.273 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/0.2698, allocations: 120.8 kB / 461.5 MB, free: 6.215 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/0.2702, allocations: 192.4 kB / 461.7 MB, free: 6.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005749/0.2707, allocations: 324 kB / 462 MB, free: 5.859 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.2708, allocations: 0 / 462 MB, free: 5.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008998/0.2717, allocations: 472.2 kB / 462.4 MB, free: 5.523 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.2717, allocations: 4 kB / 462.4 MB, free: 5.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.2717, allocations: 4 kB / 462.4 MB, free: 5.516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.2717, allocations: 7.938 kB / 462.4 MB, free: 5.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003906/0.2721, allocations: 87.88 kB / 462.5 MB, free: 5.422 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.2721, allocations: 4 kB / 462.5 MB, free: 5.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003945/0.2725, allocations: 59.5 kB / 462.6 MB, free: 5.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.2726, allocations: 23.98 kB / 462.6 MB, free: 5.336 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 (VR100.data.zetaLaminarKnown,VR10.data.zetaLaminarKnown,VR30.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * 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.000354/0.273, allocations: 301.7 kB / 462.9 MB, free: 5.031 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.2731, allocations: 107.3 kB / 463 MB, free: 4.926 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008663/0.274, allocations: 446.5 kB / 463.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.84e-06/0.274, allocations: 4 kB / 463.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.274, allocations: 0 / 463.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.274, allocations: 3.984 kB / 463.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000725/0.2747, allocations: 0.632 MB / 464.1 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2747, allocations: 0 / 464.1 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003243/0.2751, allocations: 71.89 kB / 464.2 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.2751, allocations: 0 / 464.2 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.2751, allocations: 15.98 kB / 464.2 MB, free: 3.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2751, allocations: 3.938 kB / 464.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2751, allocations: 0 / 464.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006986/0.2758, allocations: 495.4 kB / 464.7 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003388/0.2762, allocations: 224.3 kB / 464.9 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.604e-05/0.2763, allocations: 4 kB / 464.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.2765, allocations: 16 kB / 464.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/0.2766, allocations: 19.97 kB / 464.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.2766, allocations: 11.98 kB / 464.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001105/0.2778, allocations: 0.9716 MB / 465.9 MB, free: 1.938 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2778, allocations: 4 kB / 465.9 MB, free: 1.934 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005778/0.2784, allocations: 175.7 kB / 466.1 MB, free: 1.762 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * 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.001836/0.2802, allocations: 1.333 MB / 467.4 MB, free: 476 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006544/0.2809, allocations: 307.6 kB / 467.7 MB, free: 168 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2809, allocations: 0 / 467.7 MB, free: 168 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002752/0.2812, allocations: 139.9 kB / 467.9 MB, free: 28 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.2822, allocations: 225.4 kB / 468.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009882/0.2921, allocations: 7.581 MB / 475.7 MB, free: 8.047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005756/0.2927, allocations: 1.015 MB / 476.7 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004703/0.2932, allocations: 153.6 kB / 476.8 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003718/0.2936, allocations: 315.3 kB / 477.1 MB, free: 6.539 MB / 350.1 MB Notification: Performance of SimCode: time 6.52e-07/0.2936, allocations: 0 / 477.1 MB, free: 6.539 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04146/0.335, allocations: 19.69 MB / 496.8 MB, free: 2.785 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.405/9.74, allocations: 7.938 kB / 496.8 MB, free: 2.777 MB / 366.1 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.sim & python3 -m fmpy simulate --output-file OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 OpenHydraulics_OpenHydraulics_DevelopmentTests_ServoValveMeteringTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe 2>&1)