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.002481/0.002481, allocations: 89.48 kB / 19.44 MB, free: 332 kB / 13.93 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.003173/0.003173, allocations: 169.2 kB / 22.76 MB, free: 1.66 MB / 18.57 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 1.63/1.63, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo): time 0.06357/0.06357, allocations: 8.703 MB / 268.3 MB, free: 4.582 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 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.172e-06/1.172e-06, allocations: 0 / 340.1 MB, free: 8.402 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.403e-05, allocations: 2.312 kB / 340.1 MB, free: 8.398 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.002836/0.00286, allocations: 2.616 MB / 342.7 MB, free: 5.762 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.004988, allocations: 1.981 MB / 344.7 MB, free: 3.773 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.005123, allocations: 7.938 kB / 344.7 MB, free: 3.766 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002564/0.00538, allocations: 51.52 kB / 344.8 MB, free: 3.715 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.005618, allocations: 123 kB / 344.9 MB, free: 3.594 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007294/0.006348, allocations: 406.3 kB / 345.3 MB, free: 3.195 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002449/0.006593, allocations: 327.9 kB / 345.6 MB, free: 2.875 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.006742, allocations: 66.69 kB / 345.7 MB, free: 2.812 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002373/0.006979, allocations: 171.6 kB / 345.9 MB, free: 2.645 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.007121, allocations: 95.72 kB / 345.9 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.007151, allocations: 20 kB / 346 MB, free: 2.531 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002841/0.007436, allocations: 199.7 kB / 346.2 MB, free: 2.336 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.307e-05/0.007469, allocations: 47.77 kB / 346.2 MB, free: 2.289 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.985e-05/0.007548, allocations: 95.77 kB / 346.3 MB, free: 2.195 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004214/0.00797, allocations: 402.8 kB / 346.7 MB, free: 1.801 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.007973, allocations: 0 / 346.7 MB, free: 1.801 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.007974, allocations: 0 / 346.7 MB, free: 1.801 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.00798, allocations: 0 / 346.7 MB, free: 1.801 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.000704/0.008684, allocations: 0.6156 MB / 347.3 MB, free: 1.148 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.008716, allocations: 8.031 kB / 347.3 MB, free: 1.141 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000238/0.008954, allocations: 56.78 kB / 347.4 MB, free: 1.086 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.009225, allocations: 221.7 kB / 347.6 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.009242, allocations: 8.375 kB / 347.6 MB, free: 0.832 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.009263, allocations: 20.38 kB / 347.6 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.009565, allocations: 216.9 kB / 347.8 MB, free: 0.582 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.009578, allocations: 0 / 347.8 MB, free: 0.582 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.009595, allocations: 4 kB / 347.8 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.009601, allocations: 4 kB / 347.8 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002636/0.009864, allocations: 131.9 kB / 348 MB, free: 456 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.01105, allocations: 0.8524 MB / 348.8 MB, free: 15.54 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004169/0.01146, allocations: 119 kB / 348.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.01158, allocations: 39.67 kB / 349 MB, free: 15.37 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.179e-05/0.01164, allocations: 15.98 kB / 349 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.01167, allocations: 33.39 kB / 349 MB, free: 15.31 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.01167, allocations: 0 / 349 MB, free: 15.31 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.001547/0.01322, allocations: 377.7 kB / 349.4 MB, free: 14.94 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.01327, allocations: 51.41 kB / 349.4 MB, free: 14.88 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003564/0.01362, allocations: 328.2 kB / 349.8 MB, free: 14.54 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.01365, allocations: 33.64 kB / 349.8 MB, free: 14.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.01383, allocations: 230.8 kB / 350 MB, free: 14.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.73e-05/0.01387, allocations: 39.81 kB / 350.1 MB, free: 14.23 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.01398, allocations: 51.34 kB / 350.1 MB, free: 14.17 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002792/0.01426, allocations: 0.5079 MB / 350.6 MB, free: 13.65 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.01444, allocations: 59.95 kB / 350.7 MB, free: 13.59 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.01467, allocations: 110.4 kB / 350.8 MB, free: 13.46 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003899/0.01506, allocations: 158.3 kB / 350.9 MB, free: 13.29 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.01506, allocations: 4 kB / 350.9 MB, free: 13.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005084/0.01557, allocations: 209.4 kB / 351.1 MB, free: 13.07 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.01558, allocations: 4 kB / 351.2 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.0156, allocations: 8.016 kB / 351.2 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.01561, allocations: 3.984 kB / 351.2 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.0158, allocations: 31.98 kB / 351.2 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.01582, allocations: 15.91 kB / 351.2 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.01595, allocations: 12 kB / 351.2 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.01598, allocations: 8.109 kB / 351.2 MB, free: 12.99 MB / 282.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 (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.0001605/0.01614, allocations: 176.6 kB / 351.4 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.383e-05/0.0162, allocations: 27.86 kB / 351.4 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004953/0.0167, allocations: 179.2 kB / 351.6 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.0167, allocations: 4 kB / 351.6 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.0167, allocations: 0 / 351.6 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.01671, allocations: 0 / 351.6 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003552/0.01706, allocations: 232.5 kB / 351.8 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01706, allocations: 4 kB / 351.8 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.01723, allocations: 31.97 kB / 351.9 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.01723, allocations: 0 / 351.9 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.01725, allocations: 8 kB / 351.9 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.01725, allocations: 3.938 kB / 351.9 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.01725, allocations: 0 / 351.9 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005322/0.01778, allocations: 315.7 kB / 352.2 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.214e-05/0.01787, allocations: 27.84 kB / 352.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.01791, allocations: 7.984 kB / 352.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.01805, allocations: 11.94 kB / 352.2 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/0.0181, allocations: 7.984 kB / 352.2 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.01812, allocations: 11.98 kB / 352.3 MB, free: 11.88 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002148/0.01833, allocations: 221.1 kB / 352.5 MB, free: 11.67 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01833, allocations: 0 / 352.5 MB, free: 11.67 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004114/0.01875, allocations: 87.81 kB / 352.6 MB, free: 11.59 MB / 282.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 (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.0003262/0.01907, allocations: 175 kB / 352.7 MB, free: 11.41 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004469/0.01952, allocations: 143.9 kB / 352.9 MB, free: 11.26 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01952, allocations: 3.938 kB / 352.9 MB, free: 11.26 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.01973, allocations: 79.58 kB / 353 MB, free: 11.18 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.02013, allocations: 68.52 kB / 353 MB, free: 11.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009966/0.02113, allocations: 422.7 kB / 353.4 MB, free: 10.67 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.02128, allocations: 134.1 kB / 353.6 MB, free: 10.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.02141, allocations: 29.62 kB / 353.6 MB, free: 10.49 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.339e-05/0.02148, allocations: 28.48 kB / 353.6 MB, free: 10.46 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.02148, allocations: 0 / 353.6 MB, free: 10.46 MB / 282.7 MB Notification: Performance of Templates: time 0.009191/0.03067, allocations: 3.561 MB / 357.2 MB, free: 6.988 MB / 282.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: 4.741692262934521]