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.0009272/0.0009272, allocations: 82.02 kB / 19.87 MB, free: 4.621 MB / 18.57 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.0009392/0.0009392, allocations: 174 kB / 23.28 MB, free: 1.223 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 0.928/0.928, allocations: 177.1 MB / 203.7 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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.03381/0.03381, allocations: 8.725 MB / 269 MB, free: 4.379 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.423e-06/1.423e-06, allocations: 0 / 341.3 MB, free: 7.785 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.634e-05/1.776e-05, allocations: 6.25 kB / 341.3 MB, free: 7.777 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.002134/0.002152, allocations: 2.637 MB / 343.9 MB, free: 5.121 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.003794, allocations: 1.962 MB / 345.9 MB, free: 3.152 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.003933, allocations: 4 kB / 345.9 MB, free: 3.148 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.004132, allocations: 51.45 kB / 346 MB, free: 3.098 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.004325, allocations: 126.9 kB / 346.1 MB, free: 2.973 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005837/0.004908, allocations: 414.3 kB / 346.5 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.005117, allocations: 322.1 kB / 346.8 MB, free: 2.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.005231, allocations: 66.69 kB / 346.9 MB, free: 2.188 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.005425, allocations: 167.6 kB / 347 MB, free: 2.023 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.005528, allocations: 95.72 kB / 347.1 MB, free: 1.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.005548, allocations: 24 kB / 347.2 MB, free: 1.906 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002085/0.005756, allocations: 195.8 kB / 347.3 MB, free: 1.715 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.859e-05/0.005785, allocations: 51.77 kB / 347.4 MB, free: 1.664 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.429e-05/0.005839, allocations: 91.77 kB / 347.5 MB, free: 1.574 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003055/0.006145, allocations: 346.8 kB / 347.8 MB, free: 1.234 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.006148, allocations: 4 kB / 347.8 MB, free: 1.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.006148, allocations: 0 / 347.8 MB, free: 1.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.006153, allocations: 0 / 347.8 MB, free: 1.23 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.000388/0.006541, allocations: 0.5886 MB / 348.4 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.006574, allocations: 8.031 kB / 348.4 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.006708, allocations: 60.78 kB / 348.5 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.006863, allocations: 213.7 kB / 348.7 MB, free: 308 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.006874, allocations: 12.38 kB / 348.7 MB, free: 296 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.006888, allocations: 16.38 kB / 348.7 MB, free: 280 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.007059, allocations: 181.6 kB / 348.9 MB, free: 76 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.007067, allocations: 4 kB / 348.9 MB, free: 72 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.007078, allocations: 8 kB / 348.9 MB, free: 64 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.007084, allocations: 11.98 kB / 348.9 MB, free: 52 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.007194, allocations: 61.28 kB / 349 MB, free: 15.99 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009799/0.008174, allocations: 0.8055 MB / 349.8 MB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.008359, allocations: 71.08 kB / 349.9 MB, free: 15.05 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.686e-05/0.008386, allocations: 27.61 kB / 349.9 MB, free: 15.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.008423, allocations: 4.156 kB / 349.9 MB, free: 15.02 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.008443, allocations: 45.38 kB / 349.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.894e-06/0.008444, allocations: 0 / 349.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005783/0.009023, allocations: 245.2 kB / 350.2 MB, free: 14.72 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.009049, allocations: 63.39 kB / 350.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.009195, allocations: 276.2 kB / 350.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.009208, allocations: 25.7 kB / 350.5 MB, free: 14.32 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.415e-05/0.009302, allocations: 222.8 kB / 350.7 MB, free: 14.1 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.009328, allocations: 39.67 kB / 350.8 MB, free: 14.06 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/0.00938, allocations: 47.34 kB / 350.8 MB, free: 14.01 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.009497, allocations: 0.5001 MB / 351.3 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.658e-05/0.009534, allocations: 15.98 kB / 351.3 MB, free: 13.48 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.425e-05/0.009588, allocations: 73 kB / 351.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.482e-05/0.009683, allocations: 90.34 kB / 351.5 MB, free: 13.28 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.009685, allocations: 4 kB / 351.5 MB, free: 13.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001629/0.009848, allocations: 133.4 kB / 351.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.009862, allocations: 8 kB / 351.6 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.009868, allocations: 3.938 kB / 351.6 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.009879, allocations: 4.125 kB / 351.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.01, allocations: 39.97 kB / 351.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.01001, allocations: 0 / 351.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.369e-05/0.01009, allocations: 11.98 kB / 351.7 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.01011, allocations: 8 kB / 351.7 MB, free: 13.07 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 9.924e-05/0.01021, allocations: 168.5 kB / 351.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.464e-05/0.01025, allocations: 23.86 kB / 351.9 MB, free: 12.87 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/0.01042, allocations: 107.3 kB / 352 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.01042, allocations: 8 kB / 352 MB, free: 12.74 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-06/0.01042, allocations: 3.984 kB / 352 MB, free: 12.74 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.01043, allocations: 3.938 kB / 352 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.01057, allocations: 161.2 kB / 352.2 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.01057, allocations: 0 / 352.2 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.599e-05/0.01064, allocations: 27.97 kB / 352.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.01065, allocations: 0 / 352.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.01065, allocations: 0 / 352.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01065, allocations: 4 kB / 352.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.01066, allocations: 7.938 kB / 352.2 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.01081, allocations: 251.7 kB / 352.5 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.01085, allocations: 35.84 kB / 352.5 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.01087, allocations: 3.938 kB / 352.5 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.867e-05/0.01093, allocations: 11.98 kB / 352.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.01096, allocations: 11.92 kB / 352.5 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.01097, allocations: 7.984 kB / 352.5 MB, free: 12.18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.584e-05/0.01104, allocations: 189.1 kB / 352.7 MB, free: 12 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01104, allocations: 0 / 352.7 MB, free: 12 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002605/0.0113, allocations: 91.75 kB / 352.8 MB, free: 11.91 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.0002124/0.01152, allocations: 175 kB / 353 MB, free: 11.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001414/0.01166, allocations: 79.52 kB / 353.1 MB, free: 11.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01166, allocations: 0 / 353.1 MB, free: 11.64 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.339e-05/0.0117, allocations: 39.59 kB / 353.1 MB, free: 11.6 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.01196, allocations: 49.2 kB / 353.1 MB, free: 11.55 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007928/0.01275, allocations: 434.8 kB / 353.6 MB, free: 11.1 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.461e-05/0.0128, allocations: 79.84 kB / 353.6 MB, free: 11 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.912e-05/0.01288, allocations: 38.31 kB / 353.7 MB, free: 10.96 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.01299, allocations: 126.1 kB / 353.8 MB, free: 10.84 MB / 282.7 MB Notification: Performance of SimCode: time 9.72e-07/0.013, allocations: 0 / 353.8 MB, free: 10.84 MB / 282.7 MB Notification: Performance of Templates: time 0.005921/0.01892, allocations: 4.004 MB / 357.8 MB, free: 6.922 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: 2.5042129601351917]