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.001276/0.001276, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 193.1 kB / 16.53 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.239/1.239, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05374/0.05374, allocations: 11.84 MB / 281.6 MB, free: 9.453 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.001587/0.001587, allocations: 75.55 kB / 341.9 MB, free: 21.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07247/0.07407, allocations: 49.22 MB / 391.2 MB, free: 4.637 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.004868/0.07897, allocations: 3.605 MB / 394.8 MB, free: 1.004 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003738/0.08273, allocations: 2.557 MB / 397.3 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003197/0.08307, allocations: 11.94 kB / 397.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006681/0.08376, allocations: 438.4 kB / 397.8 MB, free: 14 MB / 302.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.0008201/0.0846, allocations: 425.8 kB / 398.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.08592, allocations: 0.5952 MB / 398.8 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008683/0.08679, allocations: 0.8479 MB / 399.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002938/0.0871, allocations: 185.5 kB / 399.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004259/0.08753, allocations: 338.7 kB / 400.1 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005258/0.08807, allocations: 478.3 kB / 400.6 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.08819, allocations: 40 kB / 400.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000437/0.08864, allocations: 231.8 kB / 400.9 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002021/0.08885, allocations: 243.1 kB / 401.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003606/0.08923, allocations: 413.4 kB / 401.5 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009952/0.09023, allocations: 1.02 MB / 402.5 MB, free: 9.219 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.09024, allocations: 7.938 kB / 402.5 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.09025, allocations: 0 / 402.5 MB, free: 9.211 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.079e-05/0.09028, allocations: 0 / 402.5 MB, free: 9.211 MB / 302.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.00169/0.09197, allocations: 1.213 MB / 403.7 MB, free: 7.941 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.09202, allocations: 11.89 kB / 403.7 MB, free: 7.93 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.915e-05/0.09211, allocations: 86.7 kB / 403.8 MB, free: 7.836 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.09227, allocations: 103.6 kB / 403.9 MB, free: 7.734 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008062/0.09308, allocations: 0.6437 MB / 404.6 MB, free: 7.047 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.09312, allocations: 33 kB / 404.6 MB, free: 7.016 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.848e-05/0.09319, allocations: 40 kB / 404.7 MB, free: 6.977 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007314/0.09392, allocations: 442.4 kB / 405.1 MB, free: 6.535 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.09394, allocations: 0 / 405.1 MB, free: 6.535 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.737e-05/0.09399, allocations: 16 kB / 405.1 MB, free: 6.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.094, allocations: 12 kB / 405.1 MB, free: 6.508 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008055/0.09481, allocations: 451.7 kB / 405.6 MB, free: 6.066 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002694/0.09752, allocations: 2.493 MB / 408 MB, free: 3.293 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007072/0.09824, allocations: 310.4 kB / 408.3 MB, free: 2.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/0.0985, allocations: 121.5 kB / 408.5 MB, free: 2.859 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.09855, allocations: 7.938 kB / 408.5 MB, free: 2.852 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.09857, allocations: 30.56 kB / 408.5 MB, free: 2.812 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.373e-06/0.09858, allocations: 0 / 408.5 MB, free: 2.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009297/0.09951, allocations: 456.2 kB / 408.9 MB, free: 2.359 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.09956, allocations: 59.34 kB / 409 MB, free: 2.289 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/0.101, allocations: 1.361 MB / 410.4 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.1011, allocations: 29.7 kB / 410.4 MB, free: 0.875 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003379/0.1014, allocations: 460.2 kB / 410.8 MB, free: 432 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.811e-05/0.1015, allocations: 86.75 kB / 410.9 MB, free: 344 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.1016, allocations: 77.53 kB / 411 MB, free: 260 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1017, allocations: 333.9 kB / 411.3 MB, free: 15.92 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/0.102, allocations: 111.9 kB / 411.4 MB, free: 15.81 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003204/0.1023, allocations: 191.6 kB / 411.6 MB, free: 15.59 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005724/0.1029, allocations: 319.5 kB / 411.9 MB, free: 15.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1029, allocations: 0 / 411.9 MB, free: 15.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008496/0.1038, allocations: 463.7 kB / 412.4 MB, free: 14.79 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1038, allocations: 8 kB / 412.4 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1038, allocations: 4.25 kB / 412.4 MB, free: 14.78 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1039, allocations: 4 kB / 412.4 MB, free: 14.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/0.1043, allocations: 91.81 kB / 412.5 MB, free: 14.69 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.1043, allocations: 4 kB / 412.5 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/0.1046, allocations: 55.42 kB / 412.6 MB, free: 14.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.1046, allocations: 12 kB / 412.6 MB, free: 14.62 MB / 318.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.0003254/0.1049, allocations: 301.6 kB / 412.9 MB, free: 14.31 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.1051, allocations: 98.78 kB / 413 MB, free: 14.21 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008552/0.106, allocations: 450.5 kB / 413.4 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.106, allocations: 7.984 kB / 413.4 MB, free: 13.76 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.106, allocations: 0 / 413.4 MB, free: 13.76 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.106, allocations: 0 / 413.4 MB, free: 13.76 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006933/0.1067, allocations: 0.6397 MB / 414 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1067, allocations: 0 / 414 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003341/0.107, allocations: 67.95 kB / 414.1 MB, free: 13.01 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1071, allocations: 3.938 kB / 414.1 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.1071, allocations: 19.92 kB / 414.1 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.1071, allocations: 8 kB / 414.1 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1071, allocations: 0 / 414.1 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007096/0.1078, allocations: 478.9 kB / 414.6 MB, free: 12.49 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002654/0.1081, allocations: 219.8 kB / 414.8 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.843e-05/0.1082, allocations: 8 kB / 414.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002558/0.1085, allocations: 11.98 kB / 414.8 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.545e-05/0.1085, allocations: 27.97 kB / 414.9 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.701e-05/0.1086, allocations: 12 kB / 414.9 MB, free: 12.2 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001112/0.1097, allocations: 0.9716 MB / 415.9 MB, free: 11.22 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1097, allocations: 0 / 415.9 MB, free: 11.22 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005138/0.1102, allocations: 175.8 kB / 416 MB, free: 11.05 MB / 318.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.001796/0.112, allocations: 1.342 MB / 417.4 MB, free: 9.781 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007102/0.1127, allocations: 327.6 kB / 417.7 MB, free: 9.461 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1127, allocations: 0 / 417.7 MB, free: 9.461 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002981/0.113, allocations: 143.9 kB / 417.8 MB, free: 9.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000879/0.1139, allocations: 216.6 kB / 418 MB, free: 9.109 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009826/0.1238, allocations: 8.091 MB / 426.1 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.125/0.2487, allocations: 1.012 MB / 427.1 MB, free: 41.36 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004837/0.2493, allocations: 151.9 kB / 427.3 MB, free: 41.36 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003338/0.2496, allocations: 318.5 kB / 427.6 MB, free: 41.35 MB / 318.1 MB Notification: Performance of SimCode: time 7.22e-07/0.2496, allocations: 3.562 kB / 427.6 MB, free: 41.35 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03704/0.2867, allocations: 19.39 MB / 447 MB, free: 32.76 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.176/8.463, allocations: 4.062 kB / 447 MB, free: 32.75 MB / 318.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)