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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008997/0.0008997, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001368/0.002268, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007474/0.0007474, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009176/0.001665, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8993/0.8993, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08221/0.9815, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/package.mo): time 0.03515/0.03515, allocations: 8.722 MB / 252.9 MB, free: 6.309 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006265/0.04141, allocations: 3.013 MB / 255.9 MB, free: 3.293 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenHydraulics.DevelopmentTests.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 257.2 MB, free: 1.977 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.141e-05, allocations: 2.312 kB / 257.2 MB, free: 1.973 MB / 250.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.004582/0.004603, allocations: 2.702 MB / 259.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00318/0.007783, allocations: 2.02 MB / 261.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00028/0.008063, allocations: 8 kB / 261.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.008332, allocations: 55.5 kB / 262 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000349/0.008681, allocations: 122.9 kB / 262.1 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.009772, allocations: 374.3 kB / 262.5 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004365/0.01021, allocations: 326.1 kB / 262.8 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.01038, allocations: 68.66 kB / 262.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003817/0.01076, allocations: 200 kB / 263 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.01095, allocations: 99.66 kB / 263.1 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.01098, allocations: 20 kB / 263.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004289/0.01141, allocations: 223.7 kB / 263.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.636e-05/0.01146, allocations: 35.88 kB / 263.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.479e-05/0.01155, allocations: 79.81 kB / 263.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005073/0.01206, allocations: 299 kB / 263.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.548e-05/0.01208, allocations: 0 / 263.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.01208, allocations: 0 / 263.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.01209, allocations: 4 kB / 263.8 MB, free: 11.34 MB / 266.7 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.0007211/0.01281, allocations: 0.53 MB / 264.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.01285, allocations: 8.031 kB / 264.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002432/0.01309, allocations: 130 kB / 264.5 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.01335, allocations: 182.4 kB / 264.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.01336, allocations: 12.38 kB / 264.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.01339, allocations: 20.38 kB / 264.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.01367, allocations: 175.9 kB / 264.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.01368, allocations: 0 / 264.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.0137, allocations: 8 kB / 264.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.01371, allocations: 8 kB / 264.9 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.01384, allocations: 60.14 kB / 264.9 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008949/0.01474, allocations: 0.589 MB / 265.5 MB, free: 9.504 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.01497, allocations: 70.5 kB / 265.6 MB, free: 9.426 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.574e-05/0.01501, allocations: 16.8 kB / 265.6 MB, free: 9.406 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.226e-05/0.01505, allocations: 8 kB / 265.6 MB, free: 9.398 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.01508, allocations: 42.5 kB / 265.6 MB, free: 9.348 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.522e-06/0.01508, allocations: 0 / 265.6 MB, free: 9.348 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009998/0.01608, allocations: 265.5 kB / 265.9 MB, free: 9.082 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.01611, allocations: 55.34 kB / 265.9 MB, free: 9.016 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.01629, allocations: 221 kB / 266.2 MB, free: 8.789 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.0163, allocations: 29.7 kB / 266.2 MB, free: 8.754 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.748e-05/0.01639, allocations: 156 kB / 266.3 MB, free: 8.594 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.01641, allocations: 27.78 kB / 266.4 MB, free: 8.566 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.795e-05/0.01647, allocations: 37.66 kB / 266.4 MB, free: 8.523 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.01658, allocations: 334.8 kB / 266.7 MB, free: 8.188 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.371e-05/0.01661, allocations: 12 kB / 266.7 MB, free: 8.176 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.876e-05/0.01667, allocations: 47.8 kB / 266.8 MB, free: 8.117 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.01678, allocations: 76.17 kB / 266.9 MB, free: 8.027 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.01678, allocations: 3.938 kB / 266.9 MB, free: 8.023 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001685/0.01695, allocations: 97.59 kB / 267 MB, free: 7.922 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.01696, allocations: 4 kB / 267 MB, free: 7.918 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.01697, allocations: 4 kB / 267 MB, free: 7.914 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.01698, allocations: 0 / 267 MB, free: 7.914 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.01711, allocations: 39.91 kB / 267 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.01711, allocations: 3.938 kB / 267 MB, free: 7.871 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.473e-05/0.0172, allocations: 19.89 kB / 267 MB, free: 7.852 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.01721, allocations: 3.984 kB / 267 MB, free: 7.848 MB / 266.7 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 (15): * Single equations (assignments): 15 * 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 8.711e-05/0.0173, allocations: 117.8 kB / 267.2 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/0.01733, allocations: 16.05 kB / 267.2 MB, free: 7.707 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/0.0175, allocations: 87.72 kB / 267.3 MB, free: 7.617 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.0175, allocations: 0 / 267.3 MB, free: 7.617 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.0175, allocations: 3.938 kB / 267.3 MB, free: 7.613 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01751, allocations: 0 / 267.3 MB, free: 7.613 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.0177, allocations: 117.8 kB / 267.4 MB, free: 7.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.0177, allocations: 0 / 267.4 MB, free: 7.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.25e-05/0.01778, allocations: 23.97 kB / 267.4 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.248e-05/0.01783, allocations: 27.8 kB / 267.4 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.01784, allocations: 0 / 267.4 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.01785, allocations: 4 kB / 267.4 MB, free: 7.426 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-06/0.01785, allocations: 11.92 kB / 267.4 MB, free: 7.414 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01785, allocations: 0 / 267.4 MB, free: 7.414 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.018, allocations: 159.5 kB / 267.6 MB, free: 7.242 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.01802, allocations: 8 kB / 267.6 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.878e-05/0.01811, allocations: 7.984 kB / 267.6 MB, free: 7.227 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.01814, allocations: 0 / 267.6 MB, free: 7.227 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.01815, allocations: 7.984 kB / 267.6 MB, free: 7.219 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.944e-05/0.01824, allocations: 70.78 kB / 267.7 MB, free: 7.148 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01824, allocations: 0 / 267.7 MB, free: 7.148 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003746/0.01862, allocations: 107.6 kB / 267.8 MB, free: 7.043 MB / 266.7 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 (8): * Single equations (assignments): 8 * 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.0002847/0.0189, allocations: 160 kB / 268 MB, free: 6.879 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.01904, allocations: 52.92 kB / 268 MB, free: 6.824 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/0.01905, allocations: 8 kB / 268 MB, free: 6.816 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.984e-05/0.01911, allocations: 29.16 kB / 268 MB, free: 6.785 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005406/0.01965, allocations: 0.5211 MB / 268.6 MB, free: 6.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006981/0.02663, allocations: 417 kB / 269 MB, free: 5.723 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.399e-05/0.02669, allocations: 71.98 kB / 269 MB, free: 5.633 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001639/0.02686, allocations: 29.86 kB / 269.1 MB, free: 5.605 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.02704, allocations: 95.33 kB / 269.2 MB, free: 5.512 MB / 266.7 MB Notification: Performance of SimCode: time 1.844e-06/0.02704, allocations: 0 / 269.2 MB, free: 5.512 MB / 266.7 MB Notification: Performance of Templates: time 0.006501/0.03354, allocations: 3.888 MB / 273.1 MB, free: 1.699 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.makefile [Timeout 660] (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=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.635906869545579]