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.0009323/0.0009324, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009395/0.0009396, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.279/1.279, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05256/0.05256, allocations: 11.84 MB / 282.2 MB, free: 9.715 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.000572/0.000572, allocations: 16.22 kB / 343 MB, free: 22.43 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07184/0.07242, allocations: 50.21 MB / 393.2 MB, free: 4.164 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.003489/0.07597, allocations: 3.557 MB / 396.8 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00319/0.07918, allocations: 2.473 MB / 399.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002216/0.07942, allocations: 8 kB / 399.2 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005938/0.08002, allocations: 398.8 kB / 399.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008524/0.08088, allocations: 0.5181 MB / 400.1 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.08195, allocations: 470.7 kB / 400.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008107/0.08277, allocations: 0.5808 MB / 401.2 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002434/0.08302, allocations: 143.7 kB / 401.3 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003065/0.08334, allocations: 295 kB / 401.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003864/0.08373, allocations: 374.6 kB / 402 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.982e-05/0.08379, allocations: 20 kB / 402 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003647/0.08416, allocations: 195.8 kB / 402.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.08436, allocations: 223.3 kB / 402.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.08451, allocations: 177.1 kB / 402.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007964/0.08531, allocations: 0.7406 MB / 403.3 MB, free: 10 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.08532, allocations: 0 / 403.3 MB, free: 10 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.08533, allocations: 4 kB / 403.3 MB, free: 9.996 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.08535, allocations: 0 / 403.3 MB, free: 9.996 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.001524/0.08688, allocations: 1.074 MB / 404.4 MB, free: 8.871 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.08693, allocations: 12.03 kB / 404.4 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.608e-05/0.08702, allocations: 86.52 kB / 404.5 MB, free: 8.766 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001853/0.08721, allocations: 106.6 kB / 404.6 MB, free: 8.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008224/0.08804, allocations: 0.6006 MB / 405.2 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.08808, allocations: 29 kB / 405.2 MB, free: 7.984 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.339e-05/0.08815, allocations: 40 kB / 405.3 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007385/0.0889, allocations: 446.3 kB / 405.7 MB, free: 7.504 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.08892, allocations: 0 / 405.7 MB, free: 7.504 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.986e-05/0.08897, allocations: 20 kB / 405.7 MB, free: 7.484 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.08898, allocations: 12 kB / 405.7 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000758/0.08975, allocations: 459.7 kB / 406.2 MB, free: 7.027 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002793/0.09255, allocations: 2.485 MB / 408.7 MB, free: 4.258 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.09358, allocations: 371.2 kB / 409 MB, free: 3.891 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.636e-05/0.09363, allocations: 7.984 kB / 409 MB, free: 3.883 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.09365, allocations: 38.56 kB / 409.1 MB, free: 3.836 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.834e-06/0.09366, allocations: 0 / 409.1 MB, free: 3.836 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009377/0.09461, allocations: 468.5 kB / 409.5 MB, free: 3.371 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.09465, allocations: 55.41 kB / 409.6 MB, free: 3.305 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.09615, allocations: 1.36 MB / 410.9 MB, free: 1.926 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.09619, allocations: 29.7 kB / 411 MB, free: 1.891 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003275/0.09652, allocations: 456.2 kB / 411.4 MB, free: 1.441 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.701e-05/0.0966, allocations: 86.75 kB / 411.5 MB, free: 1.355 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.928e-05/0.09662, allocations: 8 kB / 411.5 MB, free: 1.348 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.09673, allocations: 318 kB / 411.8 MB, free: 1.031 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.09698, allocations: 115.9 kB / 411.9 MB, free: 0.918 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002884/0.09728, allocations: 195.6 kB / 412.1 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/0.09758, allocations: 155.8 kB / 412.3 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.0976, allocations: 3.953 kB / 412.3 MB, free: 0.543 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008038/0.0984, allocations: 467.9 kB / 412.7 MB, free: 80 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.09843, allocations: 4 kB / 412.7 MB, free: 76 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.09845, allocations: 4 kB / 412.8 MB, free: 72 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.09847, allocations: 7.938 kB / 412.8 MB, free: 64 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004008/0.09887, allocations: 96.12 kB / 412.9 MB, free: 15.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.09889, allocations: 7.938 kB / 412.9 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003081/0.09921, allocations: 55.36 kB / 412.9 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.09925, allocations: 23.92 kB / 412.9 MB, free: 15.88 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003028/0.09956, allocations: 297.7 kB / 413.2 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.09968, allocations: 98.73 kB / 413.3 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008738/0.1006, allocations: 466.4 kB / 413.8 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1006, allocations: 4 kB / 413.8 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1006, allocations: 0 / 413.8 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.1006, allocations: 7.984 kB / 413.8 MB, free: 15.01 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006761/0.1013, allocations: 0.6242 MB / 414.4 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1013, allocations: 0 / 414.4 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000331/0.1016, allocations: 87.83 kB / 414.5 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1016, allocations: 0 / 414.5 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.1017, allocations: 8 kB / 414.5 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1017, allocations: 0 / 414.5 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1017, allocations: 0 / 414.5 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007149/0.1024, allocations: 498.8 kB / 415 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003127/0.1027, allocations: 235.7 kB / 415.2 MB, free: 13.49 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.175e-05/0.1028, allocations: 11.95 kB / 415.2 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.1031, allocations: 12 kB / 415.2 MB, free: 13.47 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.1032, allocations: 15.97 kB / 415.3 MB, free: 13.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/0.1032, allocations: 19.97 kB / 415.3 MB, free: 13.43 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001052/0.1042, allocations: 0.9716 MB / 416.3 MB, free: 12.45 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1042, allocations: 0 / 416.3 MB, free: 12.45 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005221/0.1048, allocations: 171.8 kB / 416.4 MB, free: 12.29 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00173/0.1065, allocations: 1.34 MB / 417.8 MB, free: 11.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005862/0.1071, allocations: 311.8 kB / 418.1 MB, free: 10.71 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1071, allocations: 4.5 kB / 418.1 MB, free: 10.71 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002638/0.1074, allocations: 147.9 kB / 418.2 MB, free: 10.57 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007661/0.1082, allocations: 204.1 kB / 418.4 MB, free: 10.37 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007528/0.1157, allocations: 6.544 MB / 425 MB, free: 3.582 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006232/0.1164, allocations: 1.043 MB / 426 MB, free: 2.512 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000463/0.1168, allocations: 149.6 kB / 426.1 MB, free: 2.363 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003817/0.1172, allocations: 319.3 kB / 426.5 MB, free: 2.051 MB / 318.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1172, allocations: 0 / 426.5 MB, free: 2.051 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1666/0.2839, allocations: 18.25 MB / 444.7 MB, free: 28.5 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001266/0.284, allocations: 223 kB / 444.9 MB, free: 28.26 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.963/2.248, allocations: 0 / 444.9 MB, free: 28.26 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/linux/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) Environment - environmentSimulation: