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: translateModel(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest") translateModel(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008859/0.0008865, allocations: 91.84 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.0008478/0.0008477, 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.919/1.919, 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.06018/0.06018, allocations: 11.84 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.0006706/0.0006708, allocations: 16 kB / 342.9 MB, free: 22.51 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1172, allocations: 50.22 MB / 393.1 MB, free: 4.242 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.005609/0.1229, allocations: 3.883 MB / 397 MB, free: 344 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004915/0.1278, allocations: 2.5 MB / 399.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009345/0.1288, allocations: 7.938 kB / 399.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.1298, allocations: 410.8 kB / 399.9 MB, free: 13.42 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.001546/0.1314, allocations: 465.5 kB / 400.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001888/0.1333, allocations: 470.4 kB / 400.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001316/0.1346, allocations: 0.7777 MB / 401.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003176/0.135, allocations: 151.7 kB / 401.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004277/0.1354, allocations: 290.8 kB / 402.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004671/0.1359, allocations: 398.5 kB / 402.4 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.602e-05/0.1359, allocations: 24 kB / 402.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004697/0.1364, allocations: 203.8 kB / 402.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002034/0.1366, allocations: 227.1 kB / 402.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.1368, allocations: 173.2 kB / 403.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007384/0.1375, allocations: 0.7522 MB / 403.8 MB, free: 9.523 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.1375, allocations: 8 kB / 403.8 MB, free: 9.516 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1376, allocations: 0 / 403.8 MB, free: 9.516 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1376, allocations: 0 / 403.8 MB, free: 9.516 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.001644/0.1392, allocations: 1.081 MB / 404.9 MB, free: 8.383 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.1393, allocations: 8.031 kB / 404.9 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.1394, allocations: 114.6 kB / 405 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008415/0.1403, allocations: 0.6006 MB / 405.6 MB, free: 7.617 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.1403, allocations: 29 kB / 405.6 MB, free: 7.586 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-05/0.1404, allocations: 40 kB / 405.7 MB, free: 7.547 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008216/0.1413, allocations: 446.4 kB / 406.1 MB, free: 7.105 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.1413, allocations: 0 / 406.1 MB, free: 7.105 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.613e-05/0.1413, allocations: 20 kB / 406.1 MB, free: 7.086 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.1413, allocations: 11.94 kB / 406.2 MB, free: 7.074 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007712/0.1421, allocations: 459.7 kB / 406.6 MB, free: 6.629 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002865/0.145, allocations: 2.481 MB / 409.1 MB, free: 3.863 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007048/0.1457, allocations: 319.8 kB / 409.4 MB, free: 3.543 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002428/0.146, allocations: 120.8 kB / 409.5 MB, free: 3.422 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.805e-05/0.146, allocations: 15.91 kB / 409.5 MB, free: 3.406 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.1461, allocations: 34.56 kB / 409.6 MB, free: 3.363 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 3.156e-06/0.1461, allocations: 4 kB / 409.6 MB, free: 3.359 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009161/0.147, allocations: 460.8 kB / 410 MB, free: 2.902 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.147, allocations: 55.41 kB / 410.1 MB, free: 2.836 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/0.1486, allocations: 1.368 MB / 411.4 MB, free: 1.449 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.1486, allocations: 29.7 kB / 411.5 MB, free: 1.414 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003736/0.149, allocations: 448.3 kB / 411.9 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.097e-05/0.1491, allocations: 94.64 kB / 412 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.857e-05/0.1491, allocations: 8 kB / 412 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1493, allocations: 322 kB / 412.3 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002463/0.1495, allocations: 119.9 kB / 412.4 MB, free: 444 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003172/0.1498, allocations: 191.6 kB / 412.6 MB, free: 224 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.1502, allocations: 151.8 kB / 412.8 MB, free: 72 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.1502, allocations: 3.953 kB / 412.8 MB, free: 68 kB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008094/0.151, allocations: 471.9 kB / 413.2 MB, free: 15.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.151, allocations: 8 kB / 413.2 MB, free: 15.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.151, allocations: 0 / 413.2 MB, free: 15.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.1511, allocations: 8.25 kB / 413.3 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/0.1515, allocations: 91.88 kB / 413.3 MB, free: 15.49 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.24e-05/0.1515, allocations: 7.984 kB / 413.4 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003227/0.1518, allocations: 59.36 kB / 413.4 MB, free: 15.42 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/0.1519, allocations: 16 kB / 413.4 MB, free: 15.41 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.0003411/0.1522, allocations: 297.6 kB / 413.7 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.1523, allocations: 98.73 kB / 413.8 MB, free: 15.01 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008702/0.1532, allocations: 466.4 kB / 414.3 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.1532, allocations: 4 kB / 414.3 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.1532, allocations: 3.984 kB / 414.3 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1533, allocations: 0 / 414.3 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007825/0.154, allocations: 0.6319 MB / 414.9 MB, free: 13.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1541, allocations: 0 / 414.9 MB, free: 13.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000328/0.1544, allocations: 83.84 kB / 415 MB, free: 13.78 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.1544, allocations: 0 / 415 MB, free: 13.78 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.1544, allocations: 8 kB / 415 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.1544, allocations: 8 kB / 415 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1545, allocations: 0 / 415 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006995/0.1552, allocations: 494.8 kB / 415.5 MB, free: 13.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002941/0.1555, allocations: 235.7 kB / 415.7 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.677e-05/0.1556, allocations: 7.953 kB / 415.7 MB, free: 13.01 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.1558, allocations: 15.98 kB / 415.7 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.765e-05/0.1559, allocations: 27.95 kB / 415.8 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.1559, allocations: 11.94 kB / 415.8 MB, free: 12.95 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001115/0.157, allocations: 0.9715 MB / 416.8 MB, free: 11.97 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.157, allocations: 0 / 416.8 MB, free: 11.97 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005727/0.1576, allocations: 171.8 kB / 416.9 MB, free: 11.8 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.000963/0.1586, allocations: 423.9 kB / 417.3 MB, free: 11.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006878/0.1593, allocations: 312.5 kB / 417.6 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1593, allocations: 0 / 417.6 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003131/0.1596, allocations: 155.8 kB / 417.8 MB, free: 11.02 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009406/0.1606, allocations: 196.6 kB / 418 MB, free: 10.83 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.1629, allocations: 1.707 MB / 419.7 MB, free: 9.094 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006058/0.1635, allocations: 1.015 MB / 420.7 MB, free: 8.047 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004227/0.1639, allocations: 149.6 kB / 420.9 MB, free: 7.898 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.1641, allocations: 63.41 kB / 420.9 MB, free: 7.836 MB / 318.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1641, allocations: 0 / 420.9 MB, free: 7.836 MB / 318.1 MB Notification: Performance of Templates: time 0.1953/0.3594, allocations: 9.821 MB / 430.7 MB, free: 36.21 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.makefile Environment - environmentSimulation: (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 & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe 2>&1) Environment - environmentSimulation: