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.001216/0.001216, allocations: 105.2 kB / 16.41 MB, free: 6.461 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.001255/0.001255, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.303/1.303, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05356/0.05356, allocations: 11.84 MB / 282.4 MB, free: 208 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.001511/0.001511, allocations: 69.05 kB / 393 MB, free: 45.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07947/0.08099, allocations: 49.24 MB / 442.2 MB, free: 2.07 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.002987/0.08403, allocations: 2.601 MB / 444.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002474/0.08652, allocations: 1.978 MB / 446.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.08669, allocations: 7.938 kB / 446.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002412/0.08694, allocations: 59.55 kB / 446.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002722/0.08722, allocations: 107 kB / 447 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007599/0.08799, allocations: 378.6 kB / 447.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002904/0.08829, allocations: 306.3 kB / 447.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.08847, allocations: 102.2 kB / 447.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.08864, allocations: 107.6 kB / 447.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.08882, allocations: 115.5 kB / 448 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.257e-05/0.08886, allocations: 16 kB / 448 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003205/0.08918, allocations: 195.8 kB / 448.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.904e-05/0.08923, allocations: 39.8 kB / 448.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.08935, allocations: 131.3 kB / 448.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004247/0.08978, allocations: 366.9 kB / 448.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.08979, allocations: 0 / 448.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.0898, allocations: 0 / 448.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.08981, allocations: 7.938 kB / 448.7 MB, free: 11.55 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.000698/0.09052, allocations: 0.549 MB / 449.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.09057, allocations: 11.89 kB / 449.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.917e-05/0.09063, allocations: 32.66 kB / 449.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.09093, allocations: 259.6 kB / 449.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.09095, allocations: 12.38 kB / 449.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.09099, allocations: 20.12 kB / 449.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003746/0.09137, allocations: 223.6 kB / 449.8 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.09139, allocations: 0 / 449.8 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.09141, allocations: 8 kB / 449.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.09143, allocations: 4 kB / 449.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003259/0.09176, allocations: 155.9 kB / 450 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.09308, allocations: 1.204 MB / 451.2 MB, free: 8.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003656/0.09346, allocations: 110.5 kB / 451.3 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.09359, allocations: 48.83 kB / 451.3 MB, free: 8.652 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.947e-05/0.09368, allocations: 81.11 kB / 451.4 MB, free: 8.555 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.09371, allocations: 42.5 kB / 451.5 MB, free: 8.504 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.09372, allocations: 3.938 kB / 451.5 MB, free: 8.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.002184/0.09591, allocations: 0.5121 MB / 452 MB, free: 7.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.09595, allocations: 59.41 kB / 452 MB, free: 7.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.09619, allocations: 258.6 kB / 452.3 MB, free: 7.652 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.09621, allocations: 29.7 kB / 452.3 MB, free: 7.617 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.703e-05/0.09631, allocations: 163.9 kB / 452.5 MB, free: 7.453 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.09635, allocations: 35.45 kB / 452.5 MB, free: 7.418 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.607e-05/0.09642, allocations: 41.69 kB / 452.5 MB, free: 7.371 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.09654, allocations: 330.8 kB / 452.9 MB, free: 7.039 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.09673, allocations: 67.95 kB / 452.9 MB, free: 6.973 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.09694, allocations: 106.8 kB / 453 MB, free: 6.855 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/0.09733, allocations: 172.2 kB / 453.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.09734, allocations: 0 / 453.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004746/0.09782, allocations: 236.7 kB / 453.4 MB, free: 6.438 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.09785, allocations: 4 kB / 453.4 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.09786, allocations: 0 / 453.4 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.09788, allocations: 4 kB / 453.4 MB, free: 6.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.09808, allocations: 43.91 kB / 453.5 MB, free: 6.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.0981, allocations: 0 / 453.5 MB, free: 6.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.09825, allocations: 28.03 kB / 453.5 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.09828, allocations: 8 kB / 453.5 MB, free: 6.352 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.0001098/0.09839, allocations: 133.7 kB / 453.7 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.878e-05/0.09844, allocations: 27.66 kB / 453.7 MB, free: 6.184 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004704/0.09892, allocations: 187.3 kB / 453.9 MB, free: 5.992 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.09894, allocations: 4 kB / 453.9 MB, free: 5.988 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.09895, allocations: 3.938 kB / 453.9 MB, free: 5.984 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.09896, allocations: 4 kB / 453.9 MB, free: 5.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.09925, allocations: 281.4 kB / 454.1 MB, free: 5.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.09926, allocations: 0 / 454.1 MB, free: 5.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.09943, allocations: 39.91 kB / 454.2 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.09944, allocations: 0 / 454.2 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.09946, allocations: 3.984 kB / 454.2 MB, free: 5.613 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.09947, allocations: 4 kB / 454.2 MB, free: 5.609 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.09947, allocations: 0.9375 kB / 454.2 MB, free: 5.609 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004383/0.09992, allocations: 279.1 kB / 454.5 MB, free: 5.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.956e-05/0.1, allocations: 112.8 kB / 454.6 MB, free: 5.191 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.1001, allocations: 4 kB / 454.6 MB, free: 5.188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.1002, allocations: 11.98 kB / 454.6 MB, free: 5.176 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.1003, allocations: 11.98 kB / 454.6 MB, free: 5.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.1003, allocations: 0 / 454.6 MB, free: 5.164 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001513/0.1004, allocations: 193.9 kB / 454.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1005, allocations: 0 / 454.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003636/0.1008, allocations: 91.92 kB / 454.9 MB, free: 4.883 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.0002708/0.1011, allocations: 171.2 kB / 455.1 MB, free: 4.707 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004406/0.1015, allocations: 155.8 kB / 455.2 MB, free: 4.555 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1016, allocations: 0 / 455.2 MB, free: 4.555 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.1018, allocations: 75.88 kB / 455.3 MB, free: 4.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.1022, allocations: 69.42 kB / 455.3 MB, free: 4.414 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008768/0.1031, allocations: 462.3 kB / 455.8 MB, free: 3.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.1033, allocations: 0.7401 MB / 456.5 MB, free: 3.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.836e-05/0.1034, allocations: 35.42 kB / 456.6 MB, free: 3.125 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1034, allocations: 0 / 456.6 MB, free: 3.125 MB / 334.1 MB Notification: Performance of Templates: time 0.005157/0.1086, allocations: 3.639 MB / 460.2 MB, free: 15.51 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 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe 2>&1)