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.006515/0.006515, allocations: 104.7 kB / 15.74 MB, free: 5.988 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.001165/0.001165, allocations: 196.2 kB / 16.67 MB, free: 5.914 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.291/1.291, allocations: 205.1 MB / 222.6 MB, free: 4.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05429/0.05429, allocations: 11.84 MB / 281.8 MB, free: 9.32 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.001598/0.001598, allocations: 68.47 kB / 391.9 MB, free: 3.973 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2567, allocations: 49.22 MB / 441.1 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.004236/0.261, allocations: 3.602 MB / 444.7 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003556/0.2646, allocations: 2.559 MB / 447.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002861/0.2649, allocations: 13.34 kB / 447.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000849/0.2658, allocations: 433.7 kB / 447.7 MB, free: 15.69 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.0008546/0.2666, allocations: 427.4 kB / 448.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.2682, allocations: 0.6021 MB / 448.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009237/0.2691, allocations: 0.8558 MB / 449.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002897/0.2694, allocations: 185.8 kB / 449.7 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003966/0.2698, allocations: 343.8 kB / 450.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005018/0.2703, allocations: 468.1 kB / 450.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.238e-05/0.2704, allocations: 45.69 kB / 450.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004043/0.2708, allocations: 236 kB / 450.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.271, allocations: 243.1 kB / 451 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003392/0.2714, allocations: 412.9 kB / 451.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.2724, allocations: 1.036 MB / 452.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2724, allocations: 0 / 452.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2724, allocations: 0 / 452.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.2724, allocations: 1.656 kB / 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.001754/0.2742, allocations: 1.218 MB / 453.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.2742, allocations: 13.36 kB / 453.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.829e-05/0.2743, allocations: 88.7 kB / 453.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.2745, allocations: 101.7 kB / 453.9 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008648/0.2754, allocations: 0.6459 MB / 454.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/0.2754, allocations: 29.16 kB / 454.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.679e-05/0.2755, allocations: 43.47 kB / 454.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007534/0.2762, allocations: 449.8 kB / 455 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.2763, allocations: 0 / 455 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.659e-05/0.2763, allocations: 15.94 kB / 455.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.2763, allocations: 8.938 kB / 455.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007875/0.2771, allocations: 446.9 kB / 455.5 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002753/0.2799, allocations: 2.476 MB / 458 MB, free: 8.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007124/0.2806, allocations: 305.4 kB / 458.3 MB, free: 8.277 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/0.2809, allocations: 121.7 kB / 458.4 MB, free: 8.215 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.046e-05/0.2809, allocations: 11.69 kB / 458.4 MB, free: 8.207 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.281, allocations: 36.78 kB / 458.4 MB, free: 8.164 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.423e-06/0.281, allocations: 4 kB / 458.5 MB, free: 8.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009451/0.2819, allocations: 449 kB / 458.9 MB, free: 7.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.282, allocations: 55.16 kB / 458.9 MB, free: 7.867 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/0.2835, allocations: 1.362 MB / 460.3 MB, free: 7.211 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.2835, allocations: 31.02 kB / 460.3 MB, free: 7.176 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003394/0.2839, allocations: 450.4 kB / 460.8 MB, free: 6.789 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.614e-05/0.2839, allocations: 106.8 kB / 460.9 MB, free: 6.695 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.2841, allocations: 76.25 kB / 461 MB, free: 6.645 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2842, allocations: 322.2 kB / 461.3 MB, free: 6.328 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/0.2844, allocations: 116.5 kB / 461.4 MB, free: 6.273 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/0.2848, allocations: 191.6 kB / 461.6 MB, free: 6.129 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005755/0.2853, allocations: 328.6 kB / 461.9 MB, free: 5.914 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.2854, allocations: 1.125 kB / 461.9 MB, free: 5.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008125/0.2862, allocations: 461.8 kB / 462.3 MB, free: 5.602 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.2862, allocations: 11.98 kB / 462.4 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2862, allocations: 0 / 462.4 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.2862, allocations: 4 kB / 462.4 MB, free: 5.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003681/0.2866, allocations: 83.89 kB / 462.4 MB, free: 5.504 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.2866, allocations: 3.984 kB / 462.4 MB, free: 5.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003241/0.287, allocations: 59.38 kB / 462.5 MB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.287, allocations: 19.98 kB / 462.5 MB, free: 5.422 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.0003076/0.2873, allocations: 301.6 kB / 462.8 MB, free: 5.117 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.2875, allocations: 94.78 kB / 462.9 MB, free: 5.023 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008189/0.2883, allocations: 450.4 kB / 463.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.2883, allocations: 8 kB / 463.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2883, allocations: 0 / 463.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.2883, allocations: 0 / 463.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006659/0.289, allocations: 0.632 MB / 464 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.289, allocations: 4 kB / 464 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/0.2893, allocations: 71.89 kB / 464.1 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.2893, allocations: 0 / 464.1 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.2894, allocations: 15.98 kB / 464.1 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.708e-06/0.2894, allocations: 7.938 kB / 464.1 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2894, allocations: 0 / 464.1 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006717/0.29, allocations: 486.7 kB / 464.6 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003078/0.2904, allocations: 211.9 kB / 464.8 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.55e-05/0.2905, allocations: 11.98 kB / 464.8 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.2907, allocations: 16 kB / 464.8 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.808e-05/0.2908, allocations: 19.97 kB / 464.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-05/0.2908, allocations: 15.98 kB / 464.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009941/0.2918, allocations: 0.9716 MB / 465.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2918, allocations: 0 / 465.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005244/0.2923, allocations: 171.8 kB / 466 MB, free: 1.863 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.001906/0.2943, allocations: 1.345 MB / 467.3 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000619/0.2949, allocations: 299.7 kB / 467.6 MB, free: 276 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2949, allocations: 0 / 467.6 MB, free: 276 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000321/0.2952, allocations: 147.8 kB / 467.8 MB, free: 128 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009435/0.2962, allocations: 221.5 kB / 468 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009305/0.3055, allocations: 7.532 MB / 475.5 MB, free: 8.199 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000579/0.3061, allocations: 1.015 MB / 476.5 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004099/0.3065, allocations: 149.6 kB / 476.7 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003768/0.3069, allocations: 323.3 kB / 477 MB, free: 6.688 MB / 350.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3069, allocations: 0 / 477 MB, free: 6.688 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03842/0.3453, allocations: 19.99 MB / 497 MB, free: 2.637 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.234/9.579, allocations: 0 / 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)