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.008136/0.008136, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002108/0.002108, allocations: 200.8 kB / 16.68 MB, free: 5.969 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.368/1.368, allocations: 205.1 MB / 222.6 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05673/0.05673, allocations: 11.84 MB / 281.8 MB, free: 9.359 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.002069/0.002069, allocations: 71.89 kB / 391.8 MB, free: 3.98 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2391, allocations: 49.23 MB / 441.1 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.003848/0.243, allocations: 3.611 MB / 444.7 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003098/0.2461, allocations: 2.555 MB / 447.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002086/0.2463, allocations: 6.906 kB / 447.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007683/0.2471, allocations: 431.8 kB / 447.7 MB, free: 15.7 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.0008335/0.248, allocations: 427.2 kB / 448.1 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.2494, allocations: 0.5986 MB / 448.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009303/0.2503, allocations: 0.8573 MB / 449.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002909/0.2506, allocations: 188.7 kB / 449.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003695/0.251, allocations: 345.9 kB / 450.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000528/0.2515, allocations: 464.4 kB / 450.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.317e-05/0.2516, allocations: 41.59 kB / 450.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004417/0.252, allocations: 247.6 kB / 450.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.2523, allocations: 242.9 kB / 451 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000384/0.2527, allocations: 416.9 kB / 451.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.2538, allocations: 1.031 MB / 452.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2538, allocations: 3.938 kB / 452.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2538, allocations: 1.062 kB / 452.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.2538, allocations: 0 / 452.5 MB, free: 12.84 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.001765/0.2556, allocations: 1.248 MB / 453.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.2557, allocations: 14.05 kB / 453.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.927e-05/0.2557, allocations: 80.61 kB / 453.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.2559, allocations: 110.6 kB / 453.9 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008437/0.2568, allocations: 0.6541 MB / 454.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.2568, allocations: 29.69 kB / 454.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.567e-05/0.2569, allocations: 46.62 kB / 454.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007765/0.2576, allocations: 438 kB / 455.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.2577, allocations: 3.984 kB / 455.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.902e-05/0.2577, allocations: 15.38 kB / 455.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.2577, allocations: 10.09 kB / 455.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008239/0.2586, allocations: 451 kB / 455.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002981/0.2616, allocations: 2.481 MB / 458 MB, free: 8.391 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006999/0.2623, allocations: 305.1 kB / 458.3 MB, free: 8.238 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002648/0.2625, allocations: 121.5 kB / 458.5 MB, free: 8.176 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.64e-05/0.2626, allocations: 15.94 kB / 458.5 MB, free: 8.164 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.2626, allocations: 36.06 kB / 458.5 MB, free: 8.121 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.453e-06/0.2626, allocations: 5.344 kB / 458.5 MB, free: 8.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009546/0.2636, allocations: 445.4 kB / 458.9 MB, free: 7.891 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.2636, allocations: 58.25 kB / 459 MB, free: 7.824 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.2652, allocations: 1.362 MB / 460.4 MB, free: 7.168 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.2652, allocations: 31.02 kB / 460.4 MB, free: 7.133 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003955/0.2656, allocations: 467.5 kB / 460.9 MB, free: 6.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.677e-05/0.2657, allocations: 93.98 kB / 460.9 MB, free: 6.648 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.2659, allocations: 81.81 kB / 461 MB, free: 6.594 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.266, allocations: 321.1 kB / 461.3 MB, free: 6.277 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.2663, allocations: 112.5 kB / 461.4 MB, free: 6.227 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003223/0.2666, allocations: 195.8 kB / 461.6 MB, free: 6.078 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005819/0.2672, allocations: 325 kB / 462 MB, free: 5.867 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2672, allocations: 0 / 462 MB, free: 5.867 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008574/0.2681, allocations: 476.7 kB / 462.4 MB, free: 5.527 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.2681, allocations: 4 kB / 462.4 MB, free: 5.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2681, allocations: 4 kB / 462.4 MB, free: 5.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.2681, allocations: 4 kB / 462.4 MB, free: 5.516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003802/0.2685, allocations: 91.81 kB / 462.5 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.2685, allocations: 4 kB / 462.5 MB, free: 5.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000305/0.2688, allocations: 55.55 kB / 462.6 MB, free: 5.367 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/0.2689, allocations: 19.98 kB / 462.6 MB, free: 5.348 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.0003251/0.2692, allocations: 301.7 kB / 462.9 MB, free: 5.043 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.2694, allocations: 107.3 kB / 463 MB, free: 4.938 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008701/0.2702, allocations: 450.5 kB / 463.4 MB, free: 4.492 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.2702, allocations: 0 / 463.4 MB, free: 4.492 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.2703, allocations: 4 kB / 463.4 MB, free: 4.488 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.2703, allocations: 0 / 463.4 MB, free: 4.488 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007421/0.271, allocations: 0.632 MB / 464.1 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.271, allocations: 0 / 464.1 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003329/0.2714, allocations: 67.95 kB / 464.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2714, allocations: 7.938 kB / 464.1 MB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.2714, allocations: 15.94 kB / 464.2 MB, free: 3.719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.2714, allocations: 3.984 kB / 464.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2714, allocations: 0 / 464.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007569/0.2722, allocations: 483.5 kB / 464.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002809/0.2725, allocations: 228.3 kB / 464.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.178e-05/0.2726, allocations: 8 kB / 464.9 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002637/0.2728, allocations: 19.98 kB / 464.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.858e-05/0.2729, allocations: 15.97 kB / 464.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.2729, allocations: 12 kB / 464.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001156/0.2741, allocations: 0.9755 MB / 465.9 MB, free: 1.945 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2741, allocations: 0 / 465.9 MB, free: 1.945 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005286/0.2746, allocations: 171.7 kB / 466.1 MB, free: 1.777 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.002359/0.277, allocations: 1.345 MB / 467.4 MB, free: 488 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006429/0.2777, allocations: 295.7 kB / 467.7 MB, free: 192 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.2777, allocations: 4 kB / 467.7 MB, free: 188 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002869/0.278, allocations: 143.8 kB / 467.8 MB, free: 44 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009133/0.2789, allocations: 225.4 kB / 468.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009647/0.2886, allocations: 7.57 MB / 475.6 MB, free: 8.074 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000665/0.2892, allocations: 1.019 MB / 476.6 MB, free: 7.023 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003881/0.2896, allocations: 145.6 kB / 476.8 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004079/0.2901, allocations: 327.2 kB / 477.1 MB, free: 6.559 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2901, allocations: 0 / 477.1 MB, free: 6.559 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04535/0.3354, allocations: 19.69 MB / 496.8 MB, free: 2.801 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.565/9.9, allocations: 4 kB / 496.8 MB, free: 2.797 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)