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.001838/0.001838, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 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.002036/0.002036, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.621/1.621, allocations: 177.1 MB / 202.7 MB, free: 5.754 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.09558/0.09558, allocations: 8.69 MB / 267.9 MB, free: 4.762 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.533e-06/1.533e-06, allocations: 0 / 395.4 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.815e-05, allocations: 2.281 kB / 395.4 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.004198/0.004226, allocations: 2.487 MB / 397.9 MB, free: 14.22 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003307/0.007533, allocations: 1.849 MB / 399.8 MB, free: 12.37 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002333/0.007767, allocations: 7.938 kB / 399.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002897/0.008056, allocations: 51.5 kB / 399.8 MB, free: 12.31 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003516/0.008408, allocations: 119 kB / 399.9 MB, free: 12.19 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.009479, allocations: 418 kB / 400.4 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004633/0.009942, allocations: 325.9 kB / 400.7 MB, free: 11.46 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.01013, allocations: 62.69 kB / 400.7 MB, free: 11.4 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003354/0.01046, allocations: 175.6 kB / 400.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.01066, allocations: 91.72 kB / 401 MB, free: 11.14 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.066e-05/0.0107, allocations: 19.94 kB / 401 MB, free: 11.12 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004119/0.01111, allocations: 199.8 kB / 401.2 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.797e-05/0.01117, allocations: 43.77 kB / 401.3 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.0113, allocations: 91.77 kB / 401.3 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008208/0.01212, allocations: 410.8 kB / 401.7 MB, free: 10.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.01213, allocations: 0 / 401.7 MB, free: 10.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.01213, allocations: 0 / 401.7 MB, free: 10.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.01213, allocations: 0 / 401.7 MB, free: 10.39 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.0009258/0.01306, allocations: 0.5002 MB / 402.2 MB, free: 9.859 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.0131, allocations: 8.031 kB / 402.3 MB, free: 9.852 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002722/0.01337, allocations: 44.78 kB / 402.3 MB, free: 9.809 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/0.01375, allocations: 214.8 kB / 402.5 MB, free: 9.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.01377, allocations: 12.38 kB / 402.5 MB, free: 9.559 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.0138, allocations: 16.38 kB / 402.5 MB, free: 9.543 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004415/0.01425, allocations: 224.5 kB / 402.8 MB, free: 9.309 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.01426, allocations: 0 / 402.8 MB, free: 9.309 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.01428, allocations: 4 kB / 402.8 MB, free: 9.305 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.01429, allocations: 4 kB / 402.8 MB, free: 9.301 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003979/0.01469, allocations: 159.9 kB / 402.9 MB, free: 9.145 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/0.0161, allocations: 0.6682 MB / 403.6 MB, free: 8.434 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004461/0.01655, allocations: 114.5 kB / 403.7 MB, free: 8.312 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.01667, allocations: 36.84 kB / 403.7 MB, free: 8.273 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.09e-05/0.01673, allocations: 12 kB / 403.7 MB, free: 8.262 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.01677, allocations: 34.55 kB / 403.8 MB, free: 8.219 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.532e-06/0.01677, allocations: 0 / 403.8 MB, free: 8.219 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.002334/0.0191, allocations: 0.5238 MB / 404.3 MB, free: 7.688 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.01915, allocations: 55.41 kB / 404.4 MB, free: 7.621 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003005/0.01945, allocations: 237.9 kB / 404.6 MB, free: 7.379 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.01948, allocations: 25.7 kB / 404.6 MB, free: 7.348 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.01962, allocations: 176.1 kB / 404.8 MB, free: 7.172 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.623e-05/0.01967, allocations: 43.78 kB / 404.8 MB, free: 7.129 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.016e-05/0.01975, allocations: 37.7 kB / 404.9 MB, free: 7.086 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.01993, allocations: 330.8 kB / 405.2 MB, free: 6.754 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.02013, allocations: 63.95 kB / 405.3 MB, free: 6.691 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.02038, allocations: 114.7 kB / 405.4 MB, free: 6.566 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004247/0.0208, allocations: 164.2 kB / 405.5 MB, free: 6.391 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.02081, allocations: 4 kB / 405.5 MB, free: 6.387 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005707/0.02138, allocations: 217.4 kB / 405.7 MB, free: 6.168 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.0214, allocations: 7.938 kB / 405.7 MB, free: 6.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.0214, allocations: 3.938 kB / 405.8 MB, free: 6.156 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.02142, allocations: 4 kB / 405.8 MB, free: 6.152 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.02164, allocations: 43.95 kB / 405.8 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.02165, allocations: 4.125 kB / 405.8 MB, free: 6.105 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.0218, allocations: 15.98 kB / 405.8 MB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.02181, allocations: 8 kB / 405.8 MB, free: 6.082 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 0.0001514/0.02196, allocations: 133.8 kB / 406 MB, free: 5.941 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.45e-05/0.02202, allocations: 23.86 kB / 406 MB, free: 5.918 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005672/0.02259, allocations: 199.2 kB / 406.2 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.02259, allocations: 0 / 406.2 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.0226, allocations: 4 kB / 406.2 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.0226, allocations: 0 / 406.2 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002994/0.0229, allocations: 193.2 kB / 406.4 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.0229, allocations: 0 / 406.4 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.02307, allocations: 31.91 kB / 406.4 MB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.02308, allocations: 0 / 406.4 MB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.02309, allocations: 8 kB / 406.4 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.02309, allocations: 3.938 kB / 406.4 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.0231, allocations: 4 kB / 406.4 MB, free: 5.449 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005404/0.02364, allocations: 271.3 kB / 406.7 MB, free: 5.168 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.522e-05/0.02372, allocations: 31.84 kB / 406.7 MB, free: 5.137 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.02375, allocations: 0 / 406.7 MB, free: 5.137 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.0239, allocations: 15.92 kB / 406.7 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.387e-05/0.02397, allocations: 15.97 kB / 406.7 MB, free: 5.105 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.02398, allocations: 4 kB / 406.7 MB, free: 5.102 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000195/0.02418, allocations: 173.2 kB / 406.9 MB, free: 4.938 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02418, allocations: 0 / 406.9 MB, free: 4.938 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004171/0.02459, allocations: 91.8 kB / 407 MB, free: 4.848 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.0003513/0.02494, allocations: 170.9 kB / 407.2 MB, free: 4.672 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005245/0.02547, allocations: 160.1 kB / 407.3 MB, free: 4.516 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.02547, allocations: 0 / 407.3 MB, free: 4.516 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002119/0.02568, allocations: 71.83 kB / 407.4 MB, free: 4.445 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.02608, allocations: 47.67 kB / 407.4 MB, free: 4.398 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.02715, allocations: 430.7 kB / 407.9 MB, free: 3.949 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.0273, allocations: 133.8 kB / 408 MB, free: 3.801 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001382/0.02744, allocations: 34.55 kB / 408 MB, free: 3.766 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.096e-05/0.02751, allocations: 24.48 kB / 408.1 MB, free: 3.742 MB / 330.7 MB Notification: Performance of SimCode: time 9.11e-07/0.02751, allocations: 0 / 408.1 MB, free: 3.742 MB / 330.7 MB Notification: Performance of Templates: time 0.009256/0.03677, allocations: 3.533 MB / 411.6 MB, free: 292 kB / 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.035236798925325]