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.0008925/0.000893, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001114/0.001114, allocations: 172.7 kB / 15.95 MB, free: 208 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.453/1.453, allocations: 205.4 MB / 222.1 MB, free: 5.879 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0493/0.0493, allocations: 11.86 MB / 282.2 MB, free: 9.707 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.0005957/0.0005959, allocations: 15.98 kB / 343 MB, free: 22.39 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0897/0.0903, allocations: 50.22 MB / 393.2 MB, free: 4.125 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.004142/0.09448, allocations: 3.883 MB / 397.1 MB, free: 224 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003795/0.09831, allocations: 2.496 MB / 399.6 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003522/0.0987, allocations: 7.938 kB / 399.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006779/0.0994, allocations: 414.8 kB / 400 MB, free: 13.3 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0008964/0.1003, allocations: 469.4 kB / 400.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.1016, allocations: 474.4 kB / 401 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008792/0.1025, allocations: 0.7776 MB / 401.7 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003183/0.1028, allocations: 139.8 kB / 401.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005237/0.1033, allocations: 298.8 kB / 402.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005446/0.1039, allocations: 398.5 kB / 402.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.936e-05/0.104, allocations: 28 kB / 402.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006142/0.1046, allocations: 203.8 kB / 402.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002627/0.1049, allocations: 223.2 kB / 403 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001979/0.1051, allocations: 173.2 kB / 403.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.1062, allocations: 0.7639 MB / 403.9 MB, free: 9.391 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.1062, allocations: 0 / 403.9 MB, free: 9.391 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.1062, allocations: 0 / 403.9 MB, free: 9.391 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.1062, allocations: 0 / 403.9 MB, free: 9.391 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.001926/0.1082, allocations: 1.07 MB / 405 MB, free: 8.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1082, allocations: 8.031 kB / 405 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001023/0.1083, allocations: 86.5 kB / 405.1 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.1085, allocations: 106.6 kB / 405.2 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008028/0.1093, allocations: 0.6044 MB / 405.8 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.36e-05/0.1093, allocations: 37 kB / 405.8 MB, free: 7.375 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.563e-05/0.1094, allocations: 40 kB / 405.9 MB, free: 7.336 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007619/0.1102, allocations: 438.4 kB / 406.3 MB, free: 6.902 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1102, allocations: 4 kB / 406.3 MB, free: 6.898 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.805e-05/0.1102, allocations: 12 kB / 406.3 MB, free: 6.887 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.1103, allocations: 12 kB / 406.3 MB, free: 6.875 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00084/0.1111, allocations: 471.6 kB / 406.8 MB, free: 6.418 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00318/0.1143, allocations: 2.477 MB / 409.3 MB, free: 3.656 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007699/0.1151, allocations: 311 kB / 409.6 MB, free: 3.344 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/0.1154, allocations: 129.5 kB / 409.7 MB, free: 3.215 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.164e-05/0.1154, allocations: 4 kB / 409.7 MB, free: 3.211 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/0.1155, allocations: 42.55 kB / 409.7 MB, free: 3.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 3.426e-06/0.1155, allocations: 0 / 409.7 MB, free: 3.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.001025/0.1165, allocations: 468.1 kB / 410.2 MB, free: 2.695 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.1166, allocations: 55.41 kB / 410.3 MB, free: 2.629 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001875/0.1185, allocations: 1.357 MB / 411.6 MB, free: 1.254 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.1185, allocations: 29.7 kB / 411.6 MB, free: 1.219 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004489/0.119, allocations: 460.2 kB / 412.1 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.888e-05/0.1191, allocations: 90.73 kB / 412.2 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-05/0.1191, allocations: 8 kB / 412.2 MB, free: 0.668 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1193, allocations: 318 kB / 412.5 MB, free: 360 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/0.1195, allocations: 123.9 kB / 412.6 MB, free: 236 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003057/0.1199, allocations: 191.5 kB / 412.8 MB, free: 16 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.1202, allocations: 159.7 kB / 413 MB, free: 15.86 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1202, allocations: 0 / 413 MB, free: 15.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007731/0.121, allocations: 468.1 kB / 413.4 MB, free: 15.39 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.121, allocations: 4 kB / 413.4 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.121, allocations: 4 kB / 413.4 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.1211, allocations: 4 kB / 413.4 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004104/0.1215, allocations: 95.86 kB / 413.5 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.1215, allocations: 4 kB / 413.5 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003075/0.1218, allocations: 63.39 kB / 413.6 MB, free: 15.22 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/0.1219, allocations: 15.98 kB / 413.6 MB, free: 15.21 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.0003601/0.1222, allocations: 301.6 kB / 413.9 MB, free: 14.9 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.1224, allocations: 98.77 kB / 414 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009005/0.1233, allocations: 458.4 kB / 414.4 MB, free: 14.35 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1233, allocations: 8 kB / 414.5 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1233, allocations: 0 / 414.5 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1233, allocations: 3.938 kB / 414.5 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000931/0.1242, allocations: 0.6359 MB / 415.1 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1243, allocations: 3.953 kB / 415.1 MB, free: 13.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003311/0.1246, allocations: 71.89 kB / 415.2 MB, free: 13.58 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1246, allocations: 4 kB / 415.2 MB, free: 13.58 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/0.1246, allocations: 11.98 kB / 415.2 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.644e-06/0.1247, allocations: 0 / 415.2 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1247, allocations: 4 kB / 415.2 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007228/0.1254, allocations: 494.8 kB / 415.7 MB, free: 13.06 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000316/0.1257, allocations: 239.7 kB / 415.9 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.987e-05/0.1258, allocations: 12 kB / 415.9 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.1261, allocations: 15.98 kB / 415.9 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.868e-05/0.1261, allocations: 15.97 kB / 415.9 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.1262, allocations: 12 kB / 416 MB, free: 12.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00113/0.1273, allocations: 0.9715 MB / 416.9 MB, free: 11.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1273, allocations: 0 / 416.9 MB, free: 11.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005688/0.1279, allocations: 175.8 kB / 417.1 MB, free: 11.6 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.001881/0.1298, allocations: 1.338 MB / 418.4 MB, free: 10.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006325/0.1304, allocations: 311.9 kB / 418.7 MB, free: 10.03 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.1304, allocations: 3.938 kB / 418.7 MB, free: 10.03 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002655/0.1307, allocations: 151.8 kB / 418.9 MB, free: 9.879 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008718/0.1316, allocations: 204.7 kB / 419.1 MB, free: 9.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007246/0.1389, allocations: 5.473 MB / 424.6 MB, free: 3.98 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000561/0.1394, allocations: 1.015 MB / 425.6 MB, free: 2.938 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004009/0.1398, allocations: 153.6 kB / 425.7 MB, free: 2.785 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003892/0.1402, allocations: 315.3 kB / 426 MB, free: 2.477 MB / 318.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1402, allocations: 0 / 426 MB, free: 2.477 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1973/0.3376, allocations: 18.3 MB / 444.3 MB, free: 34.33 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001447/0.3377, allocations: 240.5 kB / 444.6 MB, free: 34.09 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.167/2.504, allocations: 0 / 444.6 MB, free: 34.09 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: