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.0009256/0.0009256, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0008897/0.0008897, allocations: 177 kB / 23.5 MB, free: 1.055 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.9193/0.9193, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.03535/0.03535, allocations: 8.71 MB / 269 MB, free: 4.594 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.633e-06/1.633e-06, allocations: 0 / 340.9 MB, free: 8.391 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.832e-05, allocations: 5.125 kB / 340.9 MB, free: 8.387 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.003455/0.003483, allocations: 2.658 MB / 343.5 MB, free: 5.707 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002678/0.006161, allocations: 1.97 MB / 345.5 MB, free: 3.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002351/0.006396, allocations: 7.938 kB / 345.5 MB, free: 3.723 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.00669, allocations: 63.42 kB / 345.6 MB, free: 3.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000326/0.007016, allocations: 119 kB / 345.7 MB, free: 3.543 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.008057, allocations: 410.3 kB / 346.1 MB, free: 3.141 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003724/0.00843, allocations: 326.1 kB / 346.4 MB, free: 2.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.0086, allocations: 66.69 kB / 346.5 MB, free: 2.758 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003008/0.008901, allocations: 179.5 kB / 346.6 MB, free: 2.582 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.009064, allocations: 87.73 kB / 346.7 MB, free: 2.496 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.009094, allocations: 20 kB / 346.8 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003395/0.009433, allocations: 199.8 kB / 346.9 MB, free: 2.281 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.978e-05/0.009473, allocations: 43.78 kB / 347 MB, free: 2.238 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.519e-05/0.009568, allocations: 91.77 kB / 347.1 MB, free: 2.148 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000518/0.01009, allocations: 350.8 kB / 347.4 MB, free: 1.805 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.01009, allocations: 0 / 347.4 MB, free: 1.805 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.01009, allocations: 0 / 347.4 MB, free: 1.805 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.0101, allocations: 0 / 347.4 MB, free: 1.805 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.0006511/0.01075, allocations: 0.5848 MB / 348 MB, free: 1.184 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.0108, allocations: 8.031 kB / 348 MB, free: 1.176 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002441/0.01104, allocations: 60.77 kB / 348.1 MB, free: 1.117 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.01132, allocations: 221.6 kB / 348.3 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.01134, allocations: 16.38 kB / 348.3 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.01137, allocations: 20.38 kB / 348.3 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.01169, allocations: 181.7 kB / 348.5 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.0117, allocations: 0 / 348.5 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.01172, allocations: 12 kB / 348.5 MB, free: 0.625 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.01173, allocations: 4 kB / 348.5 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.01192, allocations: 79.88 kB / 348.6 MB, free: 0.543 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.01296, allocations: 0.8016 MB / 349.4 MB, free: 15.69 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.01328, allocations: 75.08 kB / 349.5 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.163e-05/0.01335, allocations: 23.69 kB / 349.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.087e-05/0.0134, allocations: 7.984 kB / 349.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.01343, allocations: 41.39 kB / 349.5 MB, free: 15.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.974e-06/0.01343, allocations: 0 / 349.5 MB, free: 15.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.001001/0.01443, allocations: 289.4 kB / 349.8 MB, free: 15.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.01447, allocations: 55.41 kB / 349.9 MB, free: 15.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.01472, allocations: 280.3 kB / 350.2 MB, free: 14.87 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.01474, allocations: 25.7 kB / 350.2 MB, free: 14.84 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.01486, allocations: 219 kB / 350.4 MB, free: 14.62 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.478e-05/0.01491, allocations: 43.64 kB / 350.4 MB, free: 14.58 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.931e-05/0.01499, allocations: 51.34 kB / 350.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.01514, allocations: 0.4962 MB / 351 MB, free: 14.01 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.739e-05/0.01522, allocations: 23.98 kB / 351 MB, free: 13.99 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.01532, allocations: 77.53 kB / 351.1 MB, free: 13.89 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.01549, allocations: 90.36 kB / 351.2 MB, free: 13.79 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01549, allocations: 4 kB / 351.2 MB, free: 13.78 MB / 282.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002863/0.01578, allocations: 149.4 kB / 351.3 MB, free: 13.63 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.0158, allocations: 4 kB / 351.3 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.0158, allocations: 3.938 kB / 351.3 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.01582, allocations: 8 kB / 351.3 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.01597, allocations: 39.91 kB / 351.4 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.01598, allocations: 4 kB / 351.4 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.01609, allocations: 11.98 kB / 351.4 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.01611, allocations: 8.125 kB / 351.4 MB, free: 13.55 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.0001073/0.01621, allocations: 164.5 kB / 351.6 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.89e-05/0.01627, allocations: 23.86 kB / 351.6 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002665/0.01654, allocations: 123.4 kB / 351.7 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.01654, allocations: 4 kB / 351.7 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.01655, allocations: 0 / 351.7 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01655, allocations: 0 / 351.7 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.0168, allocations: 204.5 kB / 351.9 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.0168, allocations: 0 / 351.9 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.01691, allocations: 27.98 kB / 351.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.01691, allocations: 0 / 351.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.01693, allocations: 3.984 kB / 351.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.01693, allocations: 7.875 kB / 351.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01693, allocations: 4 kB / 351.9 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.01719, allocations: 243.8 kB / 352.2 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.888e-05/0.01726, allocations: 35.83 kB / 352.2 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.0173, allocations: 8 kB / 352.2 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.01741, allocations: 7.938 kB / 352.2 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.627e-05/0.01746, allocations: 11.97 kB / 352.2 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.01748, allocations: 8 kB / 352.3 MB, free: 12.61 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001389/0.01761, allocations: 193.1 kB / 352.4 MB, free: 12.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01761, allocations: 0 / 352.4 MB, free: 12.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004425/0.01806, allocations: 99.73 kB / 352.5 MB, free: 12.33 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.0002999/0.01836, allocations: 167 kB / 352.7 MB, free: 12.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002276/0.01858, allocations: 83.7 kB / 352.8 MB, free: 12.07 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.01859, allocations: 4.062 kB / 352.8 MB, free: 12.07 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.046e-05/0.01867, allocations: 43.59 kB / 352.8 MB, free: 12.02 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.01908, allocations: 53 kB / 352.9 MB, free: 11.97 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.02038, allocations: 438.5 kB / 353.3 MB, free: 11.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.265e-05/0.02044, allocations: 79.97 kB / 353.4 MB, free: 11.42 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.02056, allocations: 25.64 kB / 353.4 MB, free: 11.39 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.02062, allocations: 16.5 kB / 353.4 MB, free: 11.38 MB / 282.7 MB Notification: Performance of SimCode: time 8.91e-07/0.02062, allocations: 4 kB / 353.4 MB, free: 11.37 MB / 282.7 MB Notification: Performance of Templates: time 0.007572/0.02819, allocations: 3.569 MB / 357 MB, free: 7.887 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.727222074056044]