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.0009049/0.0009049, allocations: 84.53 kB / 19.93 MB, free: 4.609 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.0008985/0.0008985, allocations: 177.9 kB / 23.21 MB, free: 1.328 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.9189/0.9189, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.03463/0.03463, allocations: 8.71 MB / 268.7 MB, free: 4.738 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.323e-06/1.323e-06, allocations: 0 / 395.4 MB, free: 1.527 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.906e-05, allocations: 2.281 kB / 395.4 MB, free: 1.523 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.002654/0.002673, allocations: 2.487 MB / 397.9 MB, free: 15.02 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.0044, allocations: 1.853 MB / 399.8 MB, free: 13.16 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.004509, allocations: 4 kB / 399.8 MB, free: 13.15 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002002/0.004709, allocations: 55.5 kB / 399.8 MB, free: 13.1 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.004902, allocations: 123 kB / 399.9 MB, free: 12.98 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005082/0.00541, allocations: 418.2 kB / 400.3 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.005631, allocations: 329.9 kB / 400.7 MB, free: 12.24 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.005761, allocations: 66.67 kB / 400.7 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.005956, allocations: 171.6 kB / 400.9 MB, free: 12.01 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.006067, allocations: 91.67 kB / 401 MB, free: 11.92 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.006092, allocations: 16 kB / 401 MB, free: 11.9 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002185/0.00631, allocations: 203.7 kB / 401.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.707e-05/0.006337, allocations: 39.83 kB / 401.2 MB, free: 11.66 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.442e-05/0.006402, allocations: 87.78 kB / 401.3 MB, free: 11.58 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003657/0.006767, allocations: 418.7 kB / 401.7 MB, free: 11.17 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.006769, allocations: 4 kB / 401.7 MB, free: 11.16 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.00677, allocations: 0 / 401.7 MB, free: 11.16 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.006774, allocations: 0 / 401.7 MB, free: 11.16 MB / 330.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.0005011/0.007275, allocations: 0.4887 MB / 402.2 MB, free: 10.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.007309, allocations: 8.031 kB / 402.2 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.007456, allocations: 48.77 kB / 402.3 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.007678, allocations: 214.9 kB / 402.5 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.007694, allocations: 16.36 kB / 402.5 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.007712, allocations: 16.38 kB / 402.5 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.007974, allocations: 208.5 kB / 402.7 MB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.007984, allocations: 3.938 kB / 402.7 MB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.007999, allocations: 8 kB / 402.7 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.008006, allocations: 4 kB / 402.7 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002113/0.008217, allocations: 155.9 kB / 402.9 MB, free: 9.934 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.009221, allocations: 0.6721 MB / 403.6 MB, free: 9.219 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.009491, allocations: 98.58 kB / 403.7 MB, free: 9.113 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.861e-05/0.009559, allocations: 44.83 kB / 403.7 MB, free: 9.066 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.666e-05/0.009596, allocations: 8 kB / 403.7 MB, free: 9.059 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.009612, allocations: 38.56 kB / 403.8 MB, free: 9.012 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.009613, allocations: 0 / 403.8 MB, free: 9.012 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.001182/0.0108, allocations: 0.5277 MB / 404.3 MB, free: 8.477 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.01082, allocations: 55.34 kB / 404.3 MB, free: 8.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.01099, allocations: 237.9 kB / 404.6 MB, free: 8.168 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.011, allocations: 25.7 kB / 404.6 MB, free: 8.137 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.613e-05/0.01108, allocations: 176.3 kB / 404.8 MB, free: 7.961 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.0111, allocations: 39.59 kB / 404.8 MB, free: 7.922 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.01115, allocations: 41.69 kB / 404.8 MB, free: 7.875 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.823e-05/0.01123, allocations: 330.8 kB / 405.2 MB, free: 7.543 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.01134, allocations: 63.95 kB / 405.2 MB, free: 7.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.01146, allocations: 106.4 kB / 405.3 MB, free: 7.363 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.01168, allocations: 168.2 kB / 405.5 MB, free: 7.184 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.01168, allocations: 4 kB / 405.5 MB, free: 7.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002887/0.01197, allocations: 224.3 kB / 405.7 MB, free: 6.957 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.01198, allocations: 4 kB / 405.7 MB, free: 6.953 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.01199, allocations: 3.938 kB / 405.7 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.012, allocations: 8.125 kB / 405.7 MB, free: 6.941 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.0121, allocations: 43.91 kB / 405.8 MB, free: 6.898 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.01211, allocations: 3.938 kB / 405.8 MB, free: 6.895 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.841e-05/0.01218, allocations: 19.98 kB / 405.8 MB, free: 6.875 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.01219, allocations: 7.984 kB / 405.8 MB, free: 6.867 MB / 330.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 8.048e-05/0.01227, allocations: 125.8 kB / 405.9 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.0123, allocations: 23.86 kB / 406 MB, free: 6.711 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000297/0.0126, allocations: 207.2 kB / 406.2 MB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.0126, allocations: 0 / 406.2 MB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.0126, allocations: 0 / 406.2 MB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.0126, allocations: 0 / 406.2 MB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.01276, allocations: 193.2 kB / 406.4 MB, free: 6.285 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.01276, allocations: 7.984 kB / 406.4 MB, free: 6.277 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.826e-05/0.01284, allocations: 27.97 kB / 406.4 MB, free: 6.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.01285, allocations: 8 kB / 406.4 MB, free: 6.242 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.01286, allocations: 0 / 406.4 MB, free: 6.242 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.01286, allocations: 3.938 kB / 406.4 MB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01286, allocations: 0 / 406.4 MB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.01312, allocations: 275.2 kB / 406.7 MB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.976e-05/0.01317, allocations: 35.81 kB / 406.7 MB, free: 5.918 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.01319, allocations: 4 kB / 406.7 MB, free: 5.914 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.216e-05/0.01326, allocations: 19.92 kB / 406.7 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.0133, allocations: 7.984 kB / 406.7 MB, free: 5.887 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.01331, allocations: 11.98 kB / 406.7 MB, free: 5.875 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.914e-05/0.01341, allocations: 165.2 kB / 406.9 MB, free: 5.719 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01341, allocations: 0 / 406.9 MB, free: 5.719 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002523/0.01366, allocations: 87.81 kB / 407 MB, free: 5.633 MB / 330.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.000224/0.01389, allocations: 171 kB / 407.2 MB, free: 5.457 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002742/0.01416, allocations: 152.2 kB / 407.3 MB, free: 5.309 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01416, allocations: 3.938 kB / 407.3 MB, free: 5.305 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.01427, allocations: 71.83 kB / 407.4 MB, free: 5.234 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.01454, allocations: 44.67 kB / 407.4 MB, free: 5.188 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000641/0.01518, allocations: 464.3 kB / 407.9 MB, free: 4.699 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.624e-05/0.01527, allocations: 137.8 kB / 408 MB, free: 4.547 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.589e-05/0.01532, allocations: 24.48 kB / 408 MB, free: 4.523 MB / 330.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01532, allocations: 0 / 408 MB, free: 4.523 MB / 330.7 MB Notification: Performance of Templates: time 0.004329/0.01965, allocations: 3.657 MB / 411.7 MB, free: 0.8906 MB / 330.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 > OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.664366634795442]