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.007698/0.007698, allocations: 99.3 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.001263/0.001263, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.307/1.307, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05174/0.05174, allocations: 11.84 MB / 281.7 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.001698/0.001698, allocations: 75.84 kB / 391.8 MB, free: 3.98 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2444, allocations: 49.22 MB / 441.1 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.004024/0.2485, allocations: 3.6 MB / 444.7 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003247/0.2518, allocations: 2.561 MB / 447.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002277/0.252, allocations: 10.47 kB / 447.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007115/0.2528, allocations: 433 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.0007454/0.2535, allocations: 427.6 kB / 448.1 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.2549, allocations: 0.6084 MB / 448.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009086/0.2558, allocations: 0.8531 MB / 449.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003113/0.2561, allocations: 187.4 kB / 449.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003873/0.2565, allocations: 346.2 kB / 450.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004956/0.257, allocations: 470.4 kB / 450.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.242e-05/0.2571, allocations: 45.5 kB / 450.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004372/0.2576, allocations: 236.8 kB / 450.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.2578, allocations: 246 kB / 451 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003789/0.2582, allocations: 412.9 kB / 451.4 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.2592, allocations: 1.029 MB / 452.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2592, allocations: 0 / 452.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2592, allocations: 1.094 kB / 452.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.2592, allocations: 0 / 452.5 MB, free: 12.86 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.001703/0.2609, allocations: 1.222 MB / 453.7 MB, free: 11.87 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.261, allocations: 13.83 kB / 453.7 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.861e-05/0.2611, allocations: 80.5 kB / 453.8 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.2612, allocations: 102.6 kB / 453.9 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007928/0.262, allocations: 0.653 MB / 454.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.2621, allocations: 30.38 kB / 454.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.526e-05/0.2622, allocations: 42.75 kB / 454.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007222/0.2629, allocations: 441.3 kB / 455 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.2629, allocations: 0 / 455 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.831e-05/0.263, allocations: 16.22 kB / 455.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.263, allocations: 9.438 kB / 455.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007733/0.2637, allocations: 450.7 kB / 455.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002729/0.2665, allocations: 2.476 MB / 458 MB, free: 8.449 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006874/0.2672, allocations: 305 kB / 458.3 MB, free: 8.297 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.2674, allocations: 121.3 kB / 458.4 MB, free: 8.234 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.676e-05/0.2675, allocations: 12.48 kB / 458.4 MB, free: 8.227 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.2675, allocations: 36.06 kB / 458.4 MB, free: 8.184 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.273e-06/0.2675, allocations: 4 kB / 458.5 MB, free: 8.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009063/0.2684, allocations: 445.2 kB / 458.9 MB, free: 7.953 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.2685, allocations: 62.66 kB / 458.9 MB, free: 7.883 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.27, allocations: 1.359 MB / 460.3 MB, free: 7.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.27, allocations: 30.73 kB / 460.3 MB, free: 7.195 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003391/0.2704, allocations: 450.3 kB / 460.8 MB, free: 6.809 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.951e-05/0.2704, allocations: 93.67 kB / 460.9 MB, free: 6.727 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.2706, allocations: 81.91 kB / 460.9 MB, free: 6.672 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.2707, allocations: 329.5 kB / 461.3 MB, free: 6.348 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000249/0.271, allocations: 113 kB / 461.4 MB, free: 6.297 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002991/0.2713, allocations: 195.4 kB / 461.6 MB, free: 6.148 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005514/0.2718, allocations: 324.1 kB / 461.9 MB, free: 5.938 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2718, allocations: 0.6562 kB / 461.9 MB, free: 5.938 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007983/0.2726, allocations: 467.2 kB / 462.3 MB, free: 5.602 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.2727, allocations: 4 kB / 462.3 MB, free: 5.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.2727, allocations: 4 kB / 462.4 MB, free: 5.594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.2727, allocations: 4 kB / 462.4 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.2731, allocations: 83.88 kB / 462.4 MB, free: 5.508 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.2731, allocations: 4 kB / 462.4 MB, free: 5.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003371/0.2735, allocations: 59.36 kB / 462.5 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.2735, allocations: 16 kB / 462.5 MB, free: 5.43 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.0003002/0.2738, allocations: 305.6 kB / 462.8 MB, free: 5.121 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.2739, allocations: 94.78 kB / 462.9 MB, free: 5.027 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008192/0.2748, allocations: 454.4 kB / 463.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.2748, allocations: 4 kB / 463.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2748, allocations: 0 / 463.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.2748, allocations: 3.984 kB / 463.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006882/0.2755, allocations: 0.632 MB / 464 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2755, allocations: 0 / 464 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003237/0.2758, allocations: 75.89 kB / 464.1 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.2759, allocations: 0 / 464.1 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.2759, allocations: 12 kB / 464.1 MB, free: 3.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.2759, allocations: 3.938 kB / 464.1 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2759, allocations: 0 / 464.1 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006472/0.2765, allocations: 490.7 kB / 464.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002651/0.2768, allocations: 215.8 kB / 464.8 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.186e-05/0.2769, allocations: 8 kB / 464.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.2772, allocations: 15.98 kB / 464.8 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.2772, allocations: 23.97 kB / 464.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/0.2773, allocations: 12 kB / 464.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001028/0.2783, allocations: 0.9716 MB / 465.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2783, allocations: 0 / 465.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005245/0.2788, allocations: 171.8 kB / 466 MB, free: 1.867 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.001703/0.2806, allocations: 1.344 MB / 467.3 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005979/0.2812, allocations: 295.7 kB / 467.6 MB, free: 284 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2812, allocations: 3.938 kB / 467.6 MB, free: 280 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002514/0.2814, allocations: 143.9 kB / 467.7 MB, free: 136 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008748/0.2823, allocations: 213.5 kB / 468 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008543/0.2909, allocations: 7.535 MB / 475.5 MB, free: 8.211 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005294/0.2914, allocations: 1.019 MB / 476.5 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000385/0.2918, allocations: 153.6 kB / 476.7 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003579/0.2922, allocations: 323.3 kB / 477 MB, free: 6.691 MB / 350.1 MB Notification: Performance of SimCode: time 9.92e-07/0.2922, allocations: 0 / 477 MB, free: 6.691 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04197/0.3342, allocations: 19.99 MB / 497 MB, free: 2.641 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.936/9.27, allocations: 4 kB / 497 MB, free: 2.637 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)