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.007881/0.007881, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.001939/0.001939, allocations: 195.5 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.38/1.38, allocations: 205.1 MB / 222.6 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05951/0.05951, allocations: 11.86 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.00207/0.00207, allocations: 75.88 kB / 391.8 MB, free: 3.977 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2536, allocations: 49.24 MB / 441.1 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.004173/0.2578, allocations: 3.586 MB / 444.7 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003209/0.261, allocations: 2.57 MB / 447.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002048/0.2613, allocations: 9 kB / 447.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008347/0.2621, allocations: 429.9 kB / 447.7 MB, free: 15.8 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.0008552/0.263, allocations: 431.5 kB / 448.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001465/0.2644, allocations: 0.6002 MB / 448.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009802/0.2654, allocations: 0.853 MB / 449.5 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000339/0.2658, allocations: 188.1 kB / 449.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004183/0.2662, allocations: 342 kB / 450.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005816/0.2668, allocations: 472.7 kB / 450.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.802e-05/0.2669, allocations: 41.34 kB / 450.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004589/0.2674, allocations: 240.3 kB / 450.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002331/0.2676, allocations: 246.9 kB / 451 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003846/0.268, allocations: 408.9 kB / 451.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.2692, allocations: 1.035 MB / 452.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2692, allocations: 4 kB / 452.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2692, allocations: 1.25 kB / 452.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.2692, allocations: 0 / 452.5 MB, free: 12.94 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.001901/0.2711, allocations: 1.252 MB / 453.7 MB, free: 11.92 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.2712, allocations: 13.14 kB / 453.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.346e-05/0.2713, allocations: 80.94 kB / 453.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.2715, allocations: 110.1 kB / 453.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000898/0.2724, allocations: 0.6633 MB / 454.6 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.509e-05/0.2724, allocations: 28.94 kB / 454.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.527e-05/0.2725, allocations: 39.03 kB / 454.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007903/0.2733, allocations: 438 kB / 455.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.2733, allocations: 0 / 455.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.086e-05/0.2734, allocations: 23.91 kB / 455.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.2734, allocations: 9.625 kB / 455.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000837/0.2742, allocations: 445.7 kB / 455.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003052/0.2773, allocations: 2.481 MB / 458 MB, free: 8.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007307/0.278, allocations: 298.6 kB / 458.3 MB, free: 8.336 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/0.2783, allocations: 124.5 kB / 458.5 MB, free: 8.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.615e-05/0.2783, allocations: 12.14 kB / 458.5 MB, free: 8.262 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.2784, allocations: 35.91 kB / 458.5 MB, free: 8.219 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.422e-06/0.2784, allocations: 5.344 kB / 458.5 MB, free: 8.215 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009804/0.2794, allocations: 445.8 kB / 458.9 MB, free: 7.988 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.2794, allocations: 61.81 kB / 459 MB, free: 7.918 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/0.2811, allocations: 1.366 MB / 460.4 MB, free: 7.258 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.2811, allocations: 30.86 kB / 460.4 MB, free: 7.223 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004043/0.2815, allocations: 458.4 kB / 460.8 MB, free: 6.828 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.625e-05/0.2816, allocations: 90.66 kB / 460.9 MB, free: 6.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.2817, allocations: 77.52 kB / 461 MB, free: 6.699 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.2819, allocations: 325.1 kB / 461.3 MB, free: 6.379 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.2822, allocations: 121.4 kB / 461.4 MB, free: 6.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/0.2825, allocations: 195.8 kB / 461.6 MB, free: 6.172 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006109/0.2831, allocations: 323.9 kB / 462 MB, free: 5.961 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2831, allocations: 5.062 kB / 462 MB, free: 5.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008573/0.284, allocations: 465.3 kB / 462.4 MB, free: 5.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.284, allocations: 8 kB / 462.4 MB, free: 5.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.284, allocations: 0 / 462.4 MB, free: 5.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.2841, allocations: 4 kB / 462.4 MB, free: 5.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/0.2844, allocations: 96.12 kB / 462.5 MB, free: 5.465 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.2845, allocations: 4 kB / 462.5 MB, free: 5.461 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.2848, allocations: 59.55 kB / 462.6 MB, free: 5.402 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.2848, allocations: 12 kB / 462.6 MB, free: 5.391 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.000341/0.2852, allocations: 301.6 kB / 462.9 MB, free: 5.086 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.2853, allocations: 107.3 kB / 463 MB, free: 4.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008917/0.2862, allocations: 450.5 kB / 463.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.2862, allocations: 4 kB / 463.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2863, allocations: 0 / 463.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/0.2863, allocations: 3.984 kB / 463.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000777/0.2871, allocations: 0.6398 MB / 464.1 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.2871, allocations: 0 / 464.1 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003257/0.2874, allocations: 71.88 kB / 464.1 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2874, allocations: 0 / 464.1 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.2874, allocations: 8 kB / 464.2 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.2874, allocations: 4 kB / 464.2 MB, free: 3.758 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.2875, allocations: 3.938 kB / 464.2 MB, free: 3.754 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007744/0.2882, allocations: 499.4 kB / 464.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002848/0.2885, allocations: 224.3 kB / 464.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.262e-05/0.2886, allocations: 8 kB / 464.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.2889, allocations: 15.98 kB / 464.9 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.913e-05/0.2889, allocations: 15.98 kB / 464.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.289, allocations: 11.98 kB / 464.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001187/0.2902, allocations: 0.9716 MB / 465.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2902, allocations: 4 kB / 465.9 MB, free: 1.977 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005373/0.2907, allocations: 175.7 kB / 466.1 MB, free: 1.805 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.002364/0.2931, allocations: 1.337 MB / 467.4 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006573/0.2938, allocations: 307.7 kB / 467.7 MB, free: 212 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2938, allocations: 0 / 467.7 MB, free: 212 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002901/0.2941, allocations: 139.9 kB / 467.8 MB, free: 72 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009271/0.295, allocations: 221.5 kB / 468.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009971/0.305, allocations: 7.581 MB / 475.6 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007101/0.3057, allocations: 1.019 MB / 476.7 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003954/0.3061, allocations: 149.6 kB / 476.8 MB, free: 6.895 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004253/0.3066, allocations: 319.3 kB / 477.1 MB, free: 6.582 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3066, allocations: 0 / 477.1 MB, free: 6.582 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04586/0.3524, allocations: 19.68 MB / 496.8 MB, free: 2.844 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.438/9.79, allocations: 12 kB / 496.8 MB, free: 2.832 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_ServoValveMeteringTest_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_ServoValveMeteringTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe 2>&1)