Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.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.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 106.2 kB / 16.41 MB, free: 6.504 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.001896/0.001896, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.443/1.443, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.06243/0.06243, allocations: 11.85 MB / 282.4 MB, free: 220 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.003267/0.003267, allocations: 74.42 kB / 393 MB, free: 45.31 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08573/0.089, allocations: 49.23 MB / 442.2 MB, free: 2.094 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sine.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sine1.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.004574/0.09357, allocations: 2.605 MB / 444.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004227/0.0978, allocations: 1.986 MB / 446.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002107/0.09801, allocations: 4 kB / 446.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003075/0.09832, allocations: 59.5 kB / 446.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003942/0.09871, allocations: 115.1 kB / 447 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.09995, allocations: 378.5 kB / 447.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005221/0.1005, allocations: 310.3 kB / 447.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.1007, allocations: 66.25 kB / 447.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.1009, allocations: 111.6 kB / 447.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.1012, allocations: 115.4 kB / 448 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.082e-05/0.1013, allocations: 20 kB / 448 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004871/0.1017, allocations: 187.8 kB / 448.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.066e-05/0.1018, allocations: 51.77 kB / 448.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.102, allocations: 127.4 kB / 448.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007384/0.1027, allocations: 366.6 kB / 448.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1027, allocations: 0 / 448.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1027, allocations: 0 / 448.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1027, allocations: 0 / 448.7 MB, free: 11.59 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.00113/0.1039, allocations: 0.5681 MB / 449.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.1039, allocations: 11.89 kB / 449.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.677e-05/0.104, allocations: 32.72 kB / 449.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004585/0.1045, allocations: 263.8 kB / 449.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.1045, allocations: 12.38 kB / 449.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.916e-05/0.1045, allocations: 24.12 kB / 449.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004816/0.105, allocations: 211.7 kB / 449.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.105, allocations: 0 / 449.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.1051, allocations: 8 kB / 449.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1051, allocations: 4 kB / 449.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003624/0.1054, allocations: 163.8 kB / 450 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.107, allocations: 1.212 MB / 451.2 MB, free: 8.832 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/0.1073, allocations: 98.58 kB / 451.3 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.1075, allocations: 48.78 kB / 451.3 MB, free: 8.676 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.1076, allocations: 85.09 kB / 451.4 MB, free: 8.574 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.1076, allocations: 46.44 kB / 451.5 MB, free: 8.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.1076, allocations: 0 / 451.5 MB, free: 8.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.002395/0.11, allocations: 0.5164 MB / 452 MB, free: 7.996 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.11, allocations: 55.41 kB / 452 MB, free: 7.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.1103, allocations: 258.7 kB / 452.3 MB, free: 7.672 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.1103, allocations: 25.7 kB / 452.3 MB, free: 7.641 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.1105, allocations: 164.2 kB / 452.5 MB, free: 7.477 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/0.1105, allocations: 47.58 kB / 452.5 MB, free: 7.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.357e-05/0.1106, allocations: 37.7 kB / 452.6 MB, free: 7.387 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1107, allocations: 334.8 kB / 452.9 MB, free: 7.051 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.111, allocations: 67.95 kB / 453 MB, free: 6.984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.1112, allocations: 96.25 kB / 453 MB, free: 6.875 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004211/0.1116, allocations: 172.1 kB / 453.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1116, allocations: 4 kB / 453.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005434/0.1121, allocations: 228.8 kB / 453.4 MB, free: 6.461 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1122, allocations: 4 kB / 453.4 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1122, allocations: 0 / 453.4 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.1122, allocations: 4 kB / 453.4 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.1124, allocations: 56.02 kB / 453.5 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1124, allocations: 3.938 kB / 453.5 MB, free: 6.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/0.1126, allocations: 11.98 kB / 453.5 MB, free: 6.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.1126, allocations: 8 kB / 453.5 MB, free: 6.375 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 initialization (18): * Single equations (assignments): 18 * 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.0002179/0.1128, allocations: 141.7 kB / 453.7 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.665e-05/0.1129, allocations: 27.8 kB / 453.7 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006165/0.1135, allocations: 187.3 kB / 453.9 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1135, allocations: 0 / 453.9 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.1135, allocations: 7.969 kB / 453.9 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1135, allocations: 0 / 453.9 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003501/0.1138, allocations: 285.4 kB / 454.2 MB, free: 5.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1138, allocations: 3.938 kB / 454.2 MB, free: 5.668 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.114, allocations: 35.91 kB / 454.2 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.114, allocations: 4 kB / 454.2 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.1141, allocations: 4 kB / 454.2 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.1141, allocations: 4 kB / 454.2 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1141, allocations: 0 / 454.2 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006153/0.1147, allocations: 279.2 kB / 454.5 MB, free: 5.332 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.1148, allocations: 109 kB / 454.6 MB, free: 5.207 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.484e-05/0.1148, allocations: 4 kB / 454.6 MB, free: 5.203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.115, allocations: 11.98 kB / 454.6 MB, free: 5.191 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.115, allocations: 11.98 kB / 454.6 MB, free: 5.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.1151, allocations: 7.984 kB / 454.6 MB, free: 5.172 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002518/0.1153, allocations: 186 kB / 454.8 MB, free: 4.988 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1153, allocations: 0 / 454.8 MB, free: 4.988 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006807/0.116, allocations: 87.8 kB / 454.9 MB, free: 4.902 MB / 334.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 (11): * Single equations (assignments): 11 * 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.0004243/0.1164, allocations: 175 kB / 455.1 MB, free: 4.723 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008142/0.1172, allocations: 151.8 kB / 455.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1172, allocations: 256 / 455.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003453/0.1176, allocations: 71.89 kB / 455.3 MB, free: 4.504 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006901/0.1183, allocations: 58.12 kB / 455.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.1197, allocations: 464 kB / 455.8 MB, free: 3.969 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.1202, allocations: 0.7401 MB / 456.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001404/0.1203, allocations: 33.92 kB / 456.6 MB, free: 3.164 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.307e-05/0.1204, allocations: 27.42 kB / 456.6 MB, free: 3.137 MB / 334.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1204, allocations: 0 / 456.6 MB, free: 3.137 MB / 334.1 MB Notification: Performance of Templates: time 0.008877/0.1293, allocations: 3.825 MB / 460.4 MB, free: 15.35 MB / 350.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe 2>&1)