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.001162/0.001162, allocations: 113.5 kB / 16.42 MB, free: 6.012 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.00126/0.001261, allocations: 185.5 kB / 17.35 MB, free: 5.625 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.354/1.354, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05644/0.05644, allocations: 11.84 MB / 282.4 MB, free: 228 kB / 222.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.001574/0.001574, allocations: 79.17 kB / 393 MB, free: 45.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09917/0.1008, allocations: 49.23 MB / 442.2 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.004167/0.105, allocations: 3.596 MB / 445.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003695/0.1087, allocations: 2.556 MB / 448.4 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002324/0.1089, allocations: 8 kB / 448.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006986/0.1097, allocations: 434.5 kB / 448.8 MB, free: 11.47 MB / 334.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.0008303/0.1105, allocations: 433.8 kB / 449.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.1122, allocations: 0.5949 MB / 449.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001001/0.1132, allocations: 0.8557 MB / 450.7 MB, free: 9.594 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003296/0.1135, allocations: 189.5 kB / 450.9 MB, free: 9.402 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004072/0.1139, allocations: 350.6 kB / 451.2 MB, free: 9.059 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005434/0.1145, allocations: 462.3 kB / 451.7 MB, free: 8.605 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.721e-05/0.1146, allocations: 40 kB / 451.7 MB, free: 8.566 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004467/0.115, allocations: 239.8 kB / 452 MB, free: 8.332 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002047/0.1152, allocations: 247 kB / 452.2 MB, free: 8.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000338/0.1156, allocations: 417.3 kB / 452.6 MB, free: 7.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.1167, allocations: 1.028 MB / 453.6 MB, free: 6.648 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.1167, allocations: 0 / 453.6 MB, free: 6.648 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.1167, allocations: 4 kB / 453.6 MB, free: 6.645 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.1167, allocations: 0 / 453.6 MB, free: 6.645 MB / 334.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.001727/0.1184, allocations: 1.21 MB / 454.8 MB, free: 5.383 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.1185, allocations: 11.89 kB / 454.9 MB, free: 5.371 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.1186, allocations: 103.6 kB / 455 MB, free: 5.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008307/0.1195, allocations: 0.6554 MB / 455.6 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/0.1195, allocations: 36.94 kB / 455.6 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.423e-05/0.1196, allocations: 40 kB / 455.7 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007828/0.1204, allocations: 446.4 kB / 456.1 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.1204, allocations: 0 / 456.1 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.959e-05/0.1205, allocations: 20 kB / 456.1 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.1205, allocations: 8 kB / 456.2 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007782/0.1213, allocations: 451.7 kB / 456.6 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002918/0.1242, allocations: 2.481 MB / 459.1 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000727/0.1249, allocations: 310.4 kB / 459.4 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000235/0.1252, allocations: 120.8 kB / 459.5 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.772e-05/0.1252, allocations: 15.91 kB / 459.5 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.1253, allocations: 34.56 kB / 459.5 MB, free: 336 kB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.723e-06/0.1253, allocations: 0 / 459.5 MB, free: 336 kB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009556/0.1262, allocations: 444.2 kB / 460 MB, free: 15.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.1263, allocations: 55.41 kB / 460 MB, free: 15.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/0.1278, allocations: 1.368 MB / 461.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.1278, allocations: 25.7 kB / 461.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003674/0.1282, allocations: 452.3 kB / 461.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.13e-05/0.1283, allocations: 94.64 kB / 462 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.1284, allocations: 81.55 kB / 462 MB, free: 13.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1286, allocations: 329.9 kB / 462.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/0.1289, allocations: 119.9 kB / 462.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003131/0.1292, allocations: 191.5 kB / 462.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005656/0.1298, allocations: 327.5 kB / 463 MB, free: 12.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1298, allocations: 0 / 463 MB, free: 12.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008712/0.1306, allocations: 455.8 kB / 463.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.1307, allocations: 8.25 kB / 463.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1307, allocations: 4 kB / 463.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1307, allocations: 4 kB / 463.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/0.1313, allocations: 91.88 kB / 463.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.1313, allocations: 0 / 463.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003128/0.1316, allocations: 55.38 kB / 463.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.644e-05/0.1317, allocations: 19.98 kB / 463.6 MB, free: 12.14 MB / 350.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.0003284/0.132, allocations: 301.6 kB / 463.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.1321, allocations: 98.78 kB / 464 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008525/0.133, allocations: 442.5 kB / 464.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.133, allocations: 8 kB / 464.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/0.133, allocations: 3.984 kB / 464.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000269/0.1333, allocations: 211.9 kB / 464.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.1334, allocations: 8 kB / 464.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002934/0.1337, allocations: 23.91 kB / 464.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.407e-05/0.1338, allocations: 19.98 kB / 464.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007394/0.1345, allocations: 408.6 kB / 465.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007308/0.1353, allocations: 0.5535 MB / 465.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002525/0.1356, allocations: 127.9 kB / 465.8 MB, free: 9.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001141/0.1367, allocations: 0.9716 MB / 466.8 MB, free: 8.926 MB / 350.1 MB Notification: Performance of Backend: time 6.71e-07/0.1367, allocations: 0 / 466.8 MB, free: 8.926 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001998/0.1387, allocations: 0.7184 MB / 467.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of SimCode: time 0.002774/0.1415, allocations: 2.02 MB / 469.5 MB, free: 6.262 MB / 350.1 MB Notification: Performance of Templates: time 0.02322/0.1647, allocations: 11.98 MB / 481.5 MB, free: 10.29 MB / 366.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.makefile (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)