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.0007985/0.0007985, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004761/0.004761, allocations: 170 kB / 16.26 MB, free: 6.613 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.122/1.122, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04798/0.04798, allocations: 11.85 MB / 282.6 MB, free: 9.367 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.0004869/0.000487, allocations: 22.56 kB / 343.6 MB, free: 22.02 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06527/0.06576, allocations: 50.21 MB / 393.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.003606/0.06939, allocations: 4.091 MB / 397.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002967/0.07237, allocations: 2.678 MB / 400.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.07255, allocations: 8 kB / 400.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005142/0.07307, allocations: 410.9 kB / 401 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005293/0.07361, allocations: 398.2 kB / 401.4 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008618/0.07448, allocations: 0.4889 MB / 401.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006739/0.07516, allocations: 0.8362 MB / 402.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002304/0.0754, allocations: 161.1 kB / 402.9 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002965/0.07571, allocations: 302.7 kB / 403.2 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003962/0.07611, allocations: 438.3 kB / 403.6 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.669e-05/0.07617, allocations: 23.94 kB / 403.6 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003127/0.07649, allocations: 219.8 kB / 403.8 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.07667, allocations: 223.1 kB / 404.1 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000277/0.07695, allocations: 407.1 kB / 404.5 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007736/0.07773, allocations: 0.9846 MB / 405.4 MB, free: 8.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.07774, allocations: 0 / 405.4 MB, free: 8.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.07775, allocations: 0 / 405.4 MB, free: 8.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.07776, allocations: 0 / 405.4 MB, free: 8.09 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.001268/0.07903, allocations: 1.066 MB / 406.5 MB, free: 6.973 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.07907, allocations: 16.02 kB / 406.5 MB, free: 6.957 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.617e-05/0.07916, allocations: 78.72 kB / 406.6 MB, free: 6.871 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.07928, allocations: 107.6 kB / 406.7 MB, free: 6.766 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006732/0.07996, allocations: 0.6475 MB / 407.4 MB, free: 6.074 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.07999, allocations: 29 kB / 407.4 MB, free: 6.043 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.605e-05/0.08005, allocations: 40 kB / 407.4 MB, free: 6.004 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006833/0.08074, allocations: 450.4 kB / 407.9 MB, free: 5.559 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.08076, allocations: 0 / 407.9 MB, free: 5.559 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.947e-05/0.08081, allocations: 16 kB / 407.9 MB, free: 5.543 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.08082, allocations: 8 kB / 407.9 MB, free: 5.535 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007308/0.08156, allocations: 467.7 kB / 408.3 MB, free: 5.082 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002377/0.08394, allocations: 2.473 MB / 410.8 MB, free: 2.324 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006276/0.08458, allocations: 314.4 kB / 411.1 MB, free: 2.008 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.08483, allocations: 133.4 kB / 411.3 MB, free: 1.875 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.08487, allocations: 11.92 kB / 411.3 MB, free: 1.863 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.08489, allocations: 38.56 kB / 411.3 MB, free: 1.816 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.242e-06/0.0849, allocations: 0 / 411.3 MB, free: 1.816 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.0008361/0.08574, allocations: 468.1 kB / 411.8 MB, free: 1.352 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.08578, allocations: 55.41 kB / 411.8 MB, free: 1.285 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.08711, allocations: 1.364 MB / 413.2 MB, free: 15.9 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.08715, allocations: 33.7 kB / 413.2 MB, free: 15.86 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003059/0.08746, allocations: 452.2 kB / 413.7 MB, free: 15.42 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.114e-05/0.08753, allocations: 90.66 kB / 413.7 MB, free: 15.33 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/0.08759, allocations: 41.69 kB / 413.8 MB, free: 15.28 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.64e-05/0.08769, allocations: 325.9 kB / 414.1 MB, free: 14.96 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/0.08794, allocations: 119.9 kB / 414.2 MB, free: 14.84 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002748/0.08822, allocations: 199.6 kB / 414.4 MB, free: 14.62 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005251/0.08875, allocations: 331.4 kB / 414.7 MB, free: 14.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.08877, allocations: 0 / 414.7 MB, free: 14.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007137/0.08949, allocations: 471.8 kB / 415.2 MB, free: 13.8 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.08951, allocations: 6.5 kB / 415.2 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.08952, allocations: 8.25 kB / 415.2 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.08954, allocations: 4 kB / 415.2 MB, free: 13.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003478/0.08989, allocations: 95.81 kB / 415.3 MB, free: 13.69 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.0899, allocations: 0 / 415.3 MB, free: 13.69 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002676/0.09018, allocations: 59.36 kB / 415.4 MB, free: 13.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/0.09021, allocations: 16 kB / 415.4 MB, free: 13.61 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.0002822/0.0905, allocations: 301.6 kB / 415.7 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.09061, allocations: 94.78 kB / 415.8 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007932/0.09141, allocations: 482.3 kB / 416.2 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.09143, allocations: 0 / 416.2 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.09144, allocations: 4 kB / 416.3 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.09144, allocations: 0 / 416.3 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006154/0.09206, allocations: 0.632 MB / 416.9 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.09208, allocations: 4 kB / 416.9 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003098/0.09239, allocations: 71.89 kB / 417 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.0924, allocations: 0 / 417 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.09243, allocations: 15.92 kB / 417 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.09244, allocations: 0 / 417 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.09245, allocations: 8 kB / 417 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006421/0.09309, allocations: 0.491 MB / 417.5 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002337/0.09334, allocations: 227.7 kB / 417.7 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.7e-05/0.09342, allocations: 4 kB / 417.7 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.09367, allocations: 19.98 kB / 417.7 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.09372, allocations: 27.91 kB / 417.7 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.09375, allocations: 12 kB / 417.8 MB, free: 11.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009639/0.09472, allocations: 0.9716 MB / 418.7 MB, free: 10.16 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09473, allocations: 0 / 418.7 MB, free: 10.16 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004375/0.09517, allocations: 171.8 kB / 418.9 MB, free: 9.996 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.001613/0.09679, allocations: 1.353 MB / 420.2 MB, free: 8.719 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005585/0.09736, allocations: 308 kB / 420.5 MB, free: 8.418 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.09737, allocations: 0 / 420.5 MB, free: 8.418 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002654/0.09764, allocations: 151.8 kB / 420.7 MB, free: 8.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008299/0.09848, allocations: 204.3 kB / 420.9 MB, free: 8.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1254/0.2239, allocations: 8.329 MB / 429.2 MB, free: 39.2 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00047/0.2244, allocations: 1.019 MB / 430.2 MB, free: 38.49 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000467/0.2249, allocations: 148.2 kB / 430.4 MB, free: 38.48 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000402/0.2253, allocations: 317.1 kB / 430.7 MB, free: 38.48 MB / 318.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2253, allocations: 1.375 kB / 430.7 MB, free: 38.48 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/0.2529, allocations: 18.58 MB / 449.3 MB, free: 30.59 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001334/0.253, allocations: 245.4 kB / 449.5 MB, free: 30.34 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/2.103, allocations: 0 / 449.5 MB, free: 30.34 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)